Closes #2
Add Airsend 1-button mapping to HA ButtonEntity instead of SwitchEntity
This commit is contained in:
@@ -7,7 +7,7 @@ from homeassistant.const import (
|
||||
)
|
||||
|
||||
DOMAIN = "airsend"
|
||||
AS_TYPE = ['switch', 'cover']
|
||||
AS_TYPE = ['switch', 'cover', 'button']
|
||||
|
||||
async def async_setup(hass : HomeAssistant, config : ConfigType):
|
||||
"""Set up the AirSend component."""
|
||||
|
||||
Reference in New Issue
Block a user