mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix Enigma2 available entity property (#43292)
Available property should return self.e2_box.is_offlin negation fixes previous PR: https://github.com/home-assistant/core/pull/42407
This commit is contained in:
parent
52e1282d8c
commit
159ebe1dac
@ -136,7 +136,7 @@ class Enigma2Device(MediaPlayerEntity):
|
||||
@property
|
||||
def available(self):
|
||||
"""Return True if the device is available."""
|
||||
return self.e2_box.is_offline
|
||||
return not self.e2_box.is_offline
|
||||
|
||||
@property
|
||||
def supported_features(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user