@@ -80,17 +80,17 @@ def max_power(self) -> float:
8080 @property
8181 def power_production (self ) -> float :
8282 """Net production (A-) at the moment (Watt)"""
83- return self .cache .get ("powerProduction" ) # pragma: no cover
83+ return self .cache .get ("powerProduction" )
8484
8585 @property
8686 def power_reactive (self ) -> float :
8787 """Reactive consumption (Q+) at the moment (kVAr)"""
88- return self .cache .get ("powerReactive" ) # pragma: no cover
88+ return self .cache .get ("powerReactive" )
8989
9090 @property
9191 def power_production_reactive (self ) -> float :
9292 """Net reactive production (Q-) at the moment (kVAr)"""
93- return self .cache .get ("powerProductionReactive" ) # pragma: no cover
93+ return self .cache .get ("powerProductionReactive" )
9494
9595 @property
9696 def min_power_production (self ) -> float :
@@ -110,57 +110,57 @@ def last_meter_production(self) -> float:
110110 @property
111111 def power_factor (self ) -> float :
112112 """Power factor (active power / apparent power)"""
113- return self .cache .get ("powerFactor" ) # pragma: no cover
113+ return self .cache .get ("powerFactor" )
114114
115115 @property
116116 def voltage_phase_1 (self ) -> float :
117117 """Voltage on phase 1; on Kaifa and Aidon meters the value is not part
118118 of every HAN data frame therefore the value is null at timestamps with
119119 second value other than 0, 10, 20, 30, 40, 50. There can be other deviations
120120 based on concrete meter firmware."""
121- return self .cache .get ("voltagePhase1" ) # pragma: no cover
121+ return self .cache .get ("voltagePhase1" )
122122
123123 @property
124124 def voltage_phase_2 (self ) -> float :
125125 """Voltage on phase 2; on Kaifa and Aidon meters the value is not part
126126 of every HAN data frame therefore the value is null at timestamps with
127127 second value other than 0, 10, 20, 30, 40, 50. There can be other deviations
128128 based on concrete meter firmware."""
129- return self .cache .get ("voltagePhase2" ) # pragma: no cover
129+ return self .cache .get ("voltagePhase2" )
130130
131131 @property
132132 def voltage_phase_3 (self ) -> float :
133133 """Voltage on phase 3; on Kaifa and Aidon meters the value is not part
134134 of every HAN data frame therefore the value is null at timestamps with
135135 second value other than 0, 10, 20, 30, 40, 50. There can be other deviations
136136 based on concrete meter firmware."""
137- return self .cache .get ("voltagePhase3" ) # pragma: no cover
137+ return self .cache .get ("voltagePhase3" )
138138
139139 @property
140140 def currentL1 (self ) -> float :
141141 """Current on L1; on Kaifa and Aidon meters the value is not part of
142142 every HAN data frame therefore the value is null at timestamps with
143143 second value other than 0, 10, 20, 30, 40, 50. There can be other deviations
144144 based on concrete meter firmware."""
145- return self .cache .get ("currentL1" ) # pragma: no cover
145+ return self .cache .get ("currentL1" )
146146
147147 @property
148148 def currentL2 (self ) -> float :
149149 """Current on L2; on Kaifa and Aidon meters the value is not part of
150150 every HAN data frame therefore the value is null at timestamps with
151151 second value other than 0, 10, 20, 30, 40, 50. There can be other deviations
152152 based on concrete meter firmware."""
153- return self .cache .get ("currentL2" ) # pragma: no cover
153+ return self .cache .get ("currentL2" )
154154
155155 @property
156156 def currentL3 (self ) -> float :
157157 """Current on L3; on Kaifa and Aidon meters the value is not part of
158158 every HAN data frame therefore the value is null at timestamps with
159159 second value other than 0, 10, 20, 30, 40, 50. There can be other deviations
160160 based on concrete meter firmware."""
161- return self .cache .get ("currentL3" ) # pragma: no cover
161+ return self .cache .get ("currentL3" )
162162
163163 @property
164- def signal_strength (self ) -> int :
164+ def signal_strength (self ) -> int : # pragma: no cover
165165 """Device signal strength (Pulse - dB; Watty - percent)"""
166- return self .cache .get ("signalStrength" ) # pragma: no cover
166+ return self .cache .get ("signalStrength" )
0 commit comments