Skip to content

Commit

Permalink
Update ESPHomeRoombaComponent.h
Browse files Browse the repository at this point in the history
  • Loading branch information
tikismoke authored Jan 31, 2022
1 parent f720d70 commit f2c0fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ESPHomeRoombaComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class RoombaComponent : public PollingComponent, public CustomAPIDevice {
Roomba::SensorCurrent, // 2 bytes, mA, signed
Roomba::SensorBatteryCharge, // 2 bytes, mAh, unsigned
Roomba::SensorBatteryCapacity, // 2 bytes, mAh, unsigned
Roomba::SensorBatteryTemperature // 2 bytes, °C, signed
Roomba::SensorBatteryTemperature // 1 bytes, °C, signed

};
uint8_t values[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
Expand Down Expand Up @@ -163,7 +163,7 @@ class RoombaComponent : public PollingComponent, public CustomAPIDevice {
this->chargeSensor = new Sensor();
this->capacitySensor = new Sensor();
this->batteryPercentSensor = new Sensor();
this->batteryPercentSensor = new Sensor();
this->temperatureSensor = new Sensor();
this->activitySensor = new TextSensor();
}
};

0 comments on commit f2c0fde

Please sign in to comment.