1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-09 21:33:48 +01:00

[nextion] Brightness control tweaks (#8027)

This commit is contained in:
Keith Burzinski
2025-01-12 21:12:54 -06:00
committed by GitHub
parent 92a8ebe1f8
commit aa87c60717
5 changed files with 61 additions and 15 deletions

View File

@@ -1339,7 +1339,7 @@ class Nextion : public NextionBase, public PollingComponent, public uart::UARTDe
CallbackManager<void()> buffer_overflow_callback_{};
optional<nextion_writer_t> writer_;
float brightness_{1.0};
optional<float> brightness_;
std::string device_model_;
std::string firmware_version_;