INNER CODE UNIT · Python

AreaAggregateBinarySensor

jseidl/magic-areas · custom_components/magic_areas/binary_sensor/__init__.py:50

class AreaAggregateBinarySensor(AreaSensorGroupBinarySensor):
    """Aggregate sensor for the area."""

    feature_info = MagicAreasFeatureInfoAggregates()


class AreaHealthBinarySensor(AreaSensorGroupBinarySensor):
    """Aggregate sensor for the area."""

    feature_info = MagicAreasFeatureInfoHealth()


# Setup


async def async_setup_entry(
    hass: HomeAssistant,
    config_entry: ConfigEntry,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…