"""
Button entity platform for Dahua.
https://developers.home-assistant.io/docs/core/entity/button
Buttons require HomeAssistant 2021.12 or greater
"""
from homeassistant.core import HomeAssistant


async def async_setup_entry(hass: HomeAssistant, entry, async_add_devices):
    """Setup the button platform."""
    # TODO: Add some buttons. This requires a pretty recent version of HomeAssistant so I'm waiting a bit longer
    # before adding buttons

"""
Button entity platform for Dahua.
https://developers.home-assistant.io/docs/core/entity/button
Buttons require HomeAssistant 2021.12 or greater
"""
from homeassistant.core import HomeAssistant


async def async_setup_entry(hass: HomeAssistant, entry, async_add_devices):
    """Setup the button platform."""
    # TODO: Add some buttons. This requires a pretty recent version of HomeAssistant so I'm waiting a bit longer
    # before adding buttons

Button entity platform for Dahua. https://developers.home-assistant.io/docs/core/entity/button Buttons require HomeAssistant 2021.12 or greater Setup the button platform. # TODO: Add some buttons. This requires a pretty recent version of HomeAssistant so I'm waiting a bit longer # before adding buttons