Skip to content

Commit

Permalink
Merge pull request #859 from sincze/master
Browse files Browse the repository at this point in the history
Update HomeAssistantDiscoveryClient.cpp
  • Loading branch information
sidoh authored Dec 10, 2024
2 parents 670dfc9 + 00c8ea1 commit 74b6736
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/MQTT/HomeAssistantDiscoveryClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ void HomeAssistantDiscoveryClient::addConfig(const char* alias, const BulbId& bu
config[F("pl_not_avail")] = F("disconnected");
}

// To remain compatible with Homeassistant and Domoticz
config[GroupStateFieldNames::BRIGHTNESS] = true;
// Configure supported commands based on the bulb type
config[GroupStateFieldNames::EFFECT] = true;

Expand Down

0 comments on commit 74b6736

Please sign in to comment.