mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
Update bthome.h
This commit is contained in:
parent
1f067faa34
commit
b679f916f4
1 changed files with 3 additions and 0 deletions
|
@ -163,6 +163,9 @@ class OIDSFixedPoint: public OIDFixedSize <oid, size_bytes> {
|
|||
};
|
||||
}
|
||||
|
||||
SensorPublisher *new_publisher(sensor::Sensor *sensor) const {
|
||||
return new SensorPublisher(oid, OIDSFixedPoint::read, sensor);
|
||||
}
|
||||
static constexpr int f_num_ = {f_num};
|
||||
static constexpr int f_denom_ = {f_denom};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue