Allow nukihub as hostname

This commit is contained in:
iranl
2025-04-07 20:36:21 +02:00
parent 5176cdb0b7
commit 3a6d3ecd2f
3 changed files with 5 additions and 5 deletions

View File

@@ -217,7 +217,7 @@ void NukiNetwork::initialize()
{
_hostname = _preferences->getString(preference_hostname, "");
if(_hostname == "" || _hostname == "nukihub")
if(_hostname == "")
{
char _nukiHubUidString[20];
uint8_t mac[8];
@@ -265,7 +265,7 @@ void NukiNetwork::initialize()
_hostname = _preferences->getString(preference_hostname, "");
if(_hostname == "" || _hostname == "nukihub")
if(_hostname == "")
{
char _nukiHubUidString[20];
uint8_t mac[8];