fix: Prevent warnings for bridge entities with legacy_entity_attributes enabled (#20548)

This commit is contained in:
Der Mundschenk & Compagnie
2024-01-04 14:54:39 +01:00
committed by GitHub
parent b8edf273c6
commit 99a57bfd08
+1 -1
View File
@@ -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;
}