Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove entity category from binary sensors #178

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions custom_components/midea_ac/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ async def async_setup_entry(
add_entities([MideaBinarySensor(coordinator,
"filter_alert",
BinarySensorDeviceClass.PROBLEM,
EntityCategory.DIAGNOSTIC,
"filter_alert"
)])

Expand Down Expand Up @@ -80,11 +79,6 @@ def device_class(self) -> str:
"""Return the device class of this entity."""
return self._device_class

@property
def entity_category(self) -> str:
"""Return the entity category of this entity."""
return self._entity_category

@property
def is_on(self) -> bool | None:
"""Return the on state of this entity."""
Expand Down