1515ATTR_STATE_CLASS : Final = "state_class"
1616ATTR_UNIT_OF_MEASUREMENT : Final = "unit_of_measurement"
1717DEGREE : Final = "°"
18+ ELECTRIC_POTENTIAL_VOLT : Final = "V"
1819ENERGY_KILO_WATT_HOUR : Final = "kWh"
1920ENERGY_WATT_HOUR : Final = "Wh"
2021PERCENTAGE : Final = "%"
2930VOLUME_CUBIC_METERS : Final = "m³"
3031VOLUME_CUBIC_METERS_PER_HOUR : Final = "m³/h"
3132
32- ### Stick constants ###
33+ # --- Stick constants ---
3334
3435UTF8_DECODE : Final = "utf-8"
3536
362363}
363364
364365
365- ### Smile constants ###
366+ # --- Smile constants ---
366367
367368ACTUATOR_CLASSES : Final [tuple [str , ...]] = (
368369 "heater_central" ,
444445P1_MEASUREMENTS : Final [dict [str , UOM ]] = {
445446 "electricity_consumed" : UOM (POWER_WATT ),
446447 "electricity_produced" : UOM (POWER_WATT ),
448+ "electricity_phase_one_consumed" : UOM (POWER_WATT ),
449+ "electricity_phase_two_consumed" : UOM (POWER_WATT ),
450+ "electricity_phase_three_consumed" : UOM (POWER_WATT ),
451+ "electricity_phase_one_produced" : UOM (POWER_WATT ),
452+ "electricity_phase_two_produced" : UOM (POWER_WATT ),
453+ "electricity_phase_three_produced" : UOM (POWER_WATT ),
447454 "gas_consumed" : UOM (VOLUME_CUBIC_METERS ),
455+ "voltage_phase_one" : UOM (ELECTRIC_POTENTIAL_VOLT ),
456+ "voltage_phase_two" : UOM (ELECTRIC_POTENTIAL_VOLT ),
457+ "voltage_phase_three" : UOM (ELECTRIC_POTENTIAL_VOLT ),
448458}
449459# Thermostat and Plug/Stretch related measurements
450460# Excluded:
559569 "electricity_consumed_peak_interval" ,
560570 "electricity_consumed_peak_point" ,
561571 "electricity_consumed_point" ,
572+ "electricity_phase_one_consumed" ,
573+ "electricity_phase_two_consumed" ,
574+ "electricity_phase_three_consumed" ,
575+ "electricity_phase_one_produced" ,
576+ "electricity_phase_two_produced" ,
577+ "electricity_phase_three_produced" ,
562578 "electricity_produced" ,
563579 "electricity_produced_interval" ,
564580 "electricity_produced_off_peak_cumulative" ,
585601 "setpoint_low" ,
586602 "temperature_difference" ,
587603 "valve_position" ,
604+ "voltage_phase_one" ,
605+ "voltage_phase_two" ,
606+ "voltage_phase_three" ,
588607 "water_pressure" ,
589608 "water_temperature" ,
590609)
@@ -664,6 +683,12 @@ class SmileSensors(TypedDict, total=False):
664683 electricity_consumed_peak_interval : int
665684 electricity_consumed_peak_point : int
666685 electricity_consumed_point : float
686+ electricity_phase_one_consumed : float
687+ electricity_phase_two_consumed : float
688+ electricity_phase_three_consumed : float
689+ electricity_phase_one_produced : float
690+ electricity_phase_two_produced : float
691+ electricity_phase_three_produced : float
667692 electricity_produced : float
668693 electricity_produced_interval : float
669694 electricity_produced_off_peak_cumulative : float
@@ -690,6 +715,9 @@ class SmileSensors(TypedDict, total=False):
690715 setpoint_low : float
691716 temperature_difference : float
692717 valve_position : float
718+ voltage_phase_one : float
719+ voltage_phase_two : float
720+ voltage_phase_three : float
693721 water_pressure : float
694722 water_temperature : float
695723
0 commit comments