mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-02 18:11:36 +00:00
fix: Prevent warnings for bridge entities with legacy_entity_attributes enabled (#20548)
This commit is contained in:
committed by
GitHub
parent
b8edf273c6
commit
99a57bfd08
@@ -1378,7 +1378,7 @@ export default class HomeAssistant extends Extension {
|
||||
payload.tilt_status_topic = stateTopic;
|
||||
}
|
||||
|
||||
if (this.entityAttributes) {
|
||||
if (this.entityAttributes && (isDevice || isGroup) ) {
|
||||
payload.json_attributes_topic = stateTopic;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user