Add select platform to Plugwise (#68303)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Tom 2022-03-21 21:13:03 +01:00 committed by GitHub
parent 1f135a20a0
commit 574f4710aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 74 additions and 8 deletions

View file

@ -21,18 +21,11 @@ from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from .const import DEFAULT_MAX_TEMP, DEFAULT_MIN_TEMP, DOMAIN
from .const import DEFAULT_MAX_TEMP, DEFAULT_MIN_TEMP, DOMAIN, THERMOSTAT_CLASSES
from .coordinator import PlugwiseDataUpdateCoordinator
from .entity import PlugwiseEntity
from .util import plugwise_command
THERMOSTAT_CLASSES = [
"thermostat",
"thermostatic_radiator_valve",
"zone_thermometer",
"zone_thermostat",
]
async def async_setup_entry(
hass: HomeAssistant,