mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 14:18:14 +00:00
remove unused variable
This commit is contained in:
parent
fe066baa73
commit
bc5e427cb8
@ -17,7 +17,6 @@ void UptimeTimestampTextSensor::setup() {
|
||||
return; // No need to update the timestamp if it's already set
|
||||
|
||||
auto now = this->time_->now();
|
||||
const uint32_t ms = millis();
|
||||
if (!now.is_valid())
|
||||
return; // No need to update the timestamp if the time is not valid
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user