mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-04-19 12:57:19 +00:00
allow MQTT_NODENAME override
This commit is contained in:
parent
b95e2d78f1
commit
6abf19b1df
@ -15,7 +15,11 @@ class Esp32Device : public BaseDevice {
|
||||
public:
|
||||
Esp32Device()
|
||||
{
|
||||
#ifdef MQTT_NODENAME
|
||||
_hostname = MQTT_NODENAME;
|
||||
#else
|
||||
_hostname = "plate";
|
||||
#endif
|
||||
_backlight_power = 1;
|
||||
_backlight_level = 100;
|
||||
#ifdef TFT_BCKL
|
||||
|
Loading…
x
Reference in New Issue
Block a user