Skip to content

Commit

Permalink
Update uptime_connection_sensor.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Lochnair authored Jul 17, 2024
1 parent 956a7c8 commit b76b6f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/cn105/uptime_connection_sensor.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#pragma once
#include "esphome/components/uptime/uptime_sensor.h"
#include "esphome/components/uptime/uptime_seconds_sensor.h"

namespace esphome {
namespace uptime {

class HpUpTimeConnectionSensor : public UptimeSensor {
class HpUpTimeConnectionSensor : public UptimeSecondsSensor {
public:
void update() override;
std::string unique_id() override;
Expand All @@ -16,4 +16,4 @@ namespace esphome {
bool connected_{ false };
};
} // namespace uptime
} // namespace esphome
} // namespace esphome

0 comments on commit b76b6f1

Please sign in to comment.