1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 14:48:18 +00:00
This commit is contained in:
mvturnho 2019-05-17 15:04:16 +02:00
parent f31a9ad9ef
commit 5b6f117f70
3 changed files with 3 additions and 3 deletions

View File

@ -62,4 +62,4 @@ void BinarySensorMap::add_channel(binary_sensor::BinarySensor *sensor, float val
void BinarySensorMap::set_sensor_type(BinarySensorMapType sensor_type) { this->sensor_type_ = sensor_type; }
} // namespace binary_sensor_map
} // namespace esphome
} // namespace esphome

View File

@ -56,4 +56,4 @@ class BinarySensorMap : public sensor::Sensor, public Component {
};
} // namespace binary_sensor_map
} // namespace esphome
} // namespace esphome

View File

@ -2,7 +2,7 @@ import esphome.codegen as cg
import esphome.config_validation as cv
from esphome.components import sensor, binary_sensor
from esphome.const import CONF_ID, CONF_NAME, CONF_CHANNELS, CONF_CHANNEL, CONF_VALUE, CONF_TYPE
from esphome.const import CONF_ID, CONF_CHANNELS, CONF_CHANNEL, CONF_VALUE, CONF_TYPE
DEPENDENCIES = ['binary_sensor']