updated apps

This commit is contained in:
2026-07-14 23:57:03 -04:00
parent 6cc7212cef
commit 010e828e9c
797 changed files with 45153 additions and 4246 deletions
@@ -18,8 +18,8 @@ from custom_components.powercalc.const import (
from custom_components.powercalc.errors import SensorConfigurationError
from custom_components.powercalc.sensors.abstract import generate_power_sensor_entity_id, generate_power_sensor_name
from custom_components.powercalc.sensors.energy import create_energy_sensor
from custom_components.powercalc.sensors.energy_related import create_energy_related_sensors
from custom_components.powercalc.sensors.group.custom import GroupedPowerSensor
from custom_components.powercalc.sensors.utility_meter import create_utility_meters
_LOGGER = logging.getLogger(__name__)
@@ -66,13 +66,7 @@ def create_subtract_group_sensors(
sensors.append(energy_sensor)
config[CONF_UTILITY_METER_NET_CONSUMPTION] = True
sensors.extend(
create_utility_meters(
hass,
energy_sensor,
config,
),
)
sensors.extend(create_energy_related_sensors(hass, config, energy_sensor))
return sensors
@@ -115,7 +109,6 @@ class SubtractGroupSensor(GroupedPowerSensor):
sensor_config=sensor_config,
group_type=GroupType.SUBTRACT,
unique_id=unique_id,
device_id=None,
)
self._base_entity_id = base_entity_id