From 05b97be419f1953caaec4195cb0c0ebc829dbc5a Mon Sep 17 00:00:00 2001 From: Tomasz Duda Date: Sun, 12 May 2024 14:16:42 +0200 Subject: [PATCH] fix ci --- esphome/components/adc/sensor.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/esphome/components/adc/sensor.py b/esphome/components/adc/sensor.py index d52a8fa1e5..e5184802da 100644 --- a/esphome/components/adc/sensor.py +++ b/esphome/components/adc/sensor.py @@ -77,9 +77,7 @@ CONFIG_SCHEMA = cv.All( cv.SplitDefault(CONF_ATTENUATION, esp32="0db"): cv.All( cv.only_on_esp32, cv.enum(ATTENUATION_MODES, lower=True) ), - cv.GenerateID(CONF_NRF_SAADC): cv.All( - cv.only_on_nrf52, cv.declare_id(adc_dt_spec) - ), + cv.GenerateID(CONF_NRF_SAADC): cv.declare_id(adc_dt_spec), } ) .extend(cv.polling_component_schema("60s")),