mirror of
https://github.com/esphome/esphome.git
synced 2025-04-16 07:40:29 +01:00
Locally define config string for testing.
This commit is contained in:
parent
a06bbda368
commit
cefc0b9afc
@ -6,9 +6,12 @@ from esphome.const import (
|
||||
DEVICE_CLASS_TEMPERATURE,
|
||||
STATE_CLASS_MEASUREMENT,
|
||||
UNIT_CELSIUS,
|
||||
CONF_IGNORE_THERMOCOUPLE_SHORT_CIRCUIT_ERRORS,
|
||||
# CONF_IGNORE_THERMOCOUPLE_SHORT_CIRCUIT_ERRORS,
|
||||
)
|
||||
|
||||
# TODO For testing, remove before merging.
|
||||
CONF_IGNORE_THERMOCOUPLE_SHORT_CIRCUIT_ERRORS = "ignore_thermocouple_short_circuit_errors"
|
||||
|
||||
max31855_ns = cg.esphome_ns.namespace("max31855")
|
||||
MAX31855Sensor = max31855_ns.class_(
|
||||
"MAX31855Sensor", sensor.Sensor, cg.PollingComponent, spi.SPIDevice
|
||||
|
Loading…
x
Reference in New Issue
Block a user