Add TLX daily power meter. for Growatt (#55445)
parent
1849eae0ff
commit
afc0a1f376
|
@ -285,6 +285,15 @@ TLX_SENSOR_TYPES: tuple[GrowattSensorEntityDescription, ...] = (
|
||||||
state_class=STATE_CLASS_TOTAL_INCREASING,
|
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||||
precision=1,
|
precision=1,
|
||||||
),
|
),
|
||||||
|
GrowattSensorEntityDescription(
|
||||||
|
key="tlx_energy_today_input_1",
|
||||||
|
name="Energy Today Input 1",
|
||||||
|
api_key="epv1Today",
|
||||||
|
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||||
|
device_class=DEVICE_CLASS_ENERGY,
|
||||||
|
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||||
|
precision=1,
|
||||||
|
),
|
||||||
GrowattSensorEntityDescription(
|
GrowattSensorEntityDescription(
|
||||||
key="tlx_voltage_input_1",
|
key="tlx_voltage_input_1",
|
||||||
name="Input 1 voltage",
|
name="Input 1 voltage",
|
||||||
|
@ -318,6 +327,15 @@ TLX_SENSOR_TYPES: tuple[GrowattSensorEntityDescription, ...] = (
|
||||||
state_class=STATE_CLASS_TOTAL_INCREASING,
|
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||||
precision=1,
|
precision=1,
|
||||||
),
|
),
|
||||||
|
GrowattSensorEntityDescription(
|
||||||
|
key="tlx_energy_today_input_2",
|
||||||
|
name="Energy Today Input 2",
|
||||||
|
api_key="epv2Today",
|
||||||
|
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||||
|
device_class=DEVICE_CLASS_ENERGY,
|
||||||
|
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||||
|
precision=1,
|
||||||
|
),
|
||||||
GrowattSensorEntityDescription(
|
GrowattSensorEntityDescription(
|
||||||
key="tlx_voltage_input_2",
|
key="tlx_voltage_input_2",
|
||||||
name="Input 2 voltage",
|
name="Input 2 voltage",
|
||||||
|
|
Loading…
Reference in New Issue