diff --git a/hatasmota/const.py b/hatasmota/const.py index ca275dd..77790ae 100644 --- a/hatasmota/const.py +++ b/hatasmota/const.py @@ -119,6 +119,7 @@ SENSOR_ECO2: Final = "eCO2" SENSOR_ENERGY_EXPORT_ACTIVE: Final = "ExportActive" SENSOR_ENERGY_EXPORT_REACTIVE: Final = "ExportReactive" +SENSOR_ENERGY_EXPORT_TARIFF: Final = "ExportTariff" SENSOR_ENERGY_IMPORT_ACTIVE: Final = "ImportActive" SENSOR_ENERGY_IMPORT_REACTIVE: Final = "ImportReactive" SENSOR_ENERGY_IMPORT_TODAY: Final = "Today" diff --git a/hatasmota/sensor.py b/hatasmota/sensor.py index f7b62d4..a8fa6ed 100644 --- a/hatasmota/sensor.py +++ b/hatasmota/sensor.py @@ -46,6 +46,7 @@ SENSOR_ENERGY, SENSOR_ENERGY_EXPORT_ACTIVE, SENSOR_ENERGY_EXPORT_REACTIVE, + SENSOR_ENERGY_EXPORT_TARIFF, SENSOR_ENERGY_IMPORT_ACTIVE, SENSOR_ENERGY_IMPORT_REACTIVE, SENSOR_ENERGY_IMPORT_TODAY, @@ -170,6 +171,7 @@ SENSOR_ENERGY: ENERGY_KILO_WATT_HOUR, SENSOR_ENERGY_EXPORT_ACTIVE: ENERGY_KILO_WATT_HOUR, SENSOR_ENERGY_EXPORT_REACTIVE: REACTIVE_ENERGY_KILO_VOLT_AMPERE_HOUR, + #SENSOR_ENERGY_EXPORT_TARIFF: ENERGY_KILO_WATT_HOUR, SENSOR_ENERGY_IMPORT_ACTIVE: ENERGY_KILO_WATT_HOUR, SENSOR_ENERGY_IMPORT_REACTIVE: REACTIVE_ENERGY_KILO_VOLT_AMPERE_HOUR, SENSOR_ENERGY_IMPORT_TODAY: ENERGY_KILO_WATT_HOUR,