Protect entities for availability in gardena bluetooth (#96776)
Protect entities for availabilitypull/96788/head
parent
31dfa5561a
commit
36cb3f7278
|
@ -90,6 +90,7 @@ async def async_setup_entry(
|
|||
for description in DESCRIPTIONS
|
||||
if description.key in coordinator.characteristics
|
||||
]
|
||||
if Valve.remaining_open_time.uuid in coordinator.characteristics:
|
||||
entities.append(GardenaBluetoothRemainingOpenSetNumber(coordinator))
|
||||
async_add_entities(entities)
|
||||
|
||||
|
|
|
@ -60,6 +60,7 @@ async def async_setup_entry(
|
|||
for description in DESCRIPTIONS
|
||||
if description.key in coordinator.characteristics
|
||||
]
|
||||
if Valve.remaining_open_time.uuid in coordinator.characteristics:
|
||||
entities.append(GardenaBluetoothRemainSensor(coordinator))
|
||||
async_add_entities(entities)
|
||||
|
||||
|
|
Loading…
Reference in New Issue