Remove entity category system in favor of hidden_by (#68550)

This commit is contained in:
Erik Montnemery 2022-05-02 18:33:16 +02:00 committed by GitHub
parent a4682ae6e1
commit 1aaf78ef99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 42 additions and 51 deletions

View file

@ -519,8 +519,8 @@ class EntityPlatform:
config_entry=self.config_entry,
device_id=device_id,
disabled_by=disabled_by,
hidden_by=hidden_by,
entity_category=entity.entity_category,
hidden_by=hidden_by,
known_object_ids=self.entities.keys(),
original_device_class=entity.device_class,
original_icon=entity.icon,