Correct invalid docstring in gardena button (#96922)

pull/96924/head
Joakim Plate 2023-07-19 23:58:31 +02:00 committed by GitHub
parent deafdc3005
commit daa53118b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ DESCRIPTIONS = (
async def async_setup_entry(
hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback
) -> None:
"""Set up binary sensor based on a config entry."""
"""Set up button based on a config entry."""
coordinator: Coordinator = hass.data[DOMAIN][entry.entry_id]
entities = [
GardenaBluetoothButton(coordinator, description)
@ -51,7 +51,7 @@ async def async_setup_entry(
class GardenaBluetoothButton(GardenaBluetoothDescriptorEntity, ButtonEntity):
"""Representation of a binary sensor."""
"""Representation of a button."""
entity_description: GardenaBluetoothButtonEntityDescription