From daa53118b3ae9a2509dd909cc2e6cae63418aefe Mon Sep 17 00:00:00 2001 From: Joakim Plate Date: Wed, 19 Jul 2023 23:58:31 +0200 Subject: [PATCH] Correct invalid docstring in gardena button (#96922) --- homeassistant/components/gardena_bluetooth/button.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/gardena_bluetooth/button.py b/homeassistant/components/gardena_bluetooth/button.py index cfaa4d72c2a..b984d3420ae 100644 --- a/homeassistant/components/gardena_bluetooth/button.py +++ b/homeassistant/components/gardena_bluetooth/button.py @@ -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