Skip to content

Commit

Permalink
Fix entities all being forbidden (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
WebSpider authored Nov 6, 2024
1 parent 940d38d commit 8cd097b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/myskoda/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def is_supported(self) -> bool:
)

def is_forbidden(self) -> bool:
return all(
return any(
self.vehicle.has_capability(cap) for cap in self.forbidden_capabilities()
)

Expand Down

0 comments on commit 8cd097b

Please sign in to comment.