Skip to content

Commit 8ffb687

Browse files
authored
Merge pull request #10 from eman/docfix
document int to bool conversions
2 parents fe0bad2 + 2b50e0f commit 8ffb687

1 file changed

Lines changed: 48 additions & 48 deletions

File tree

docs/DEVICE_STATUS_FIELDS.rst

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ This document lists the fields found in the ``status`` object of device status m
2929
- Status of special functions (e.g., freeze protection, anti-seize operations).
3030
- None
3131
* - ``didReload``
32-
- integer
32+
- bool
3333
- None
3434
- Indicates if the device has recently reloaded or restarted.
35-
- None
35+
- Converted from integer (0 or 1) to bool
3636
* - ``errorCode``
3737
- integer
3838
- None
@@ -49,25 +49,25 @@ This document lists the fields found in the ``status`` object of device status m
4949
- The current **actual operational state** of the device (what it's doing RIGHT NOW). Reports status values: 0=Standby, 32=Heat Pump active, 64=Energy Saver active, 96=High Demand active. See Operation Modes section below for the critical distinction between this and ``dhwOperationSetting``.
5050
- None
5151
* - ``operationBusy``
52-
- integer
53-
- None
54-
- Indicates if the device is currently performing heating operations (1=busy, 0=idle).
52+
- bool
5553
- None
54+
- Indicates if the device is currently performing heating operations (True=busy, False=idle).
55+
- Converted from integer (0 or 1) to bool
5656
* - ``freezeProtectionUse``
57-
- integer
57+
- bool
5858
- None
5959
- Whether freeze protection is active. When tank water temperature falls below 43°F (6°C), the electric heater activates to prevent freezing.
60-
- None
60+
- Converted from integer (0 or 1) to bool
6161
* - ``dhwUse``
62-
- integer
62+
- bool
6363
- None
6464
- Domestic Hot Water (DHW) usage status - indicates if hot water is currently being drawn from the tank.
65-
- None
65+
- Converted from integer (0 or 1) to bool
6666
* - ``dhwUseSustained``
67-
- integer
67+
- bool
6868
- None
6969
- Sustained DHW usage status - indicates prolonged hot water usage.
70-
- None
70+
- Converted from integer (0 or 1) to bool
7171
* - ``dhwTemperature``
7272
- integer
7373
- °F
@@ -79,10 +79,10 @@ This document lists the fields found in the ``status`` object of device status m
7979
- Target DHW temperature setting. Range: 95°F (35°C) to 150°F (65.5°C). Default: 120°F (49°C).
8080
- ``raw + 20``
8181
* - ``programReservationUse``
82-
- integer
82+
- bool
8383
- None
8484
- Whether a program reservation (scheduled operation) is in use.
85-
- None
85+
- Converted from integer (0 or 1) to bool
8686
* - ``smartDiagnostic``
8787
- integer
8888
- None
@@ -104,10 +104,10 @@ This document lists the fields found in the ``status`` object of device status m
104104
- WiFi signal strength in dBm (decibel-milliwatts). Typical values: -30 (excellent) to -90 (poor).
105105
- None
106106
* - ``ecoUse``
107-
- integer
107+
- bool
108108
- None
109109
- Whether ECO (Energy Cut Off) safety feature has been triggered. The ECO switch is a high-temperature safety limit.
110-
- None
110+
- Converted from integer (0 or 1) to bool
111111
* - ``dhwTargetTemperatureSetting``
112112
- integer
113113
- °F
@@ -149,40 +149,40 @@ This document lists the fields found in the ``status`` object of device status m
149149
- Target superheat value - the desired temperature difference ensuring complete refrigerant vaporization.
150150
- ``raw / 10.0``
151151
* - ``compUse``
152-
- integer
153-
- None
154-
- Compressor usage status (1=On, 0=Off). The compressor is the main component of the heat pump.
152+
- bool
155153
- None
154+
- Compressor usage status (True=On, False=Off). The compressor is the main component of the heat pump.
155+
- Converted from integer (0 or 1) to bool
156156
* - ``eevUse``
157-
- integer
158-
- None
159-
- Electronic Expansion Valve (EEV) usage status (1=active, 0=inactive). The EEV controls refrigerant flow.
157+
- bool
160158
- None
159+
- Electronic Expansion Valve (EEV) usage status (True=active, False=inactive). The EEV controls refrigerant flow.
160+
- Converted from integer (0 or 1) to bool
161161
* - ``evaFanUse``
162-
- integer
163-
- None
164-
- Evaporator fan usage status (1=On, 0=Off). The fan pulls ambient air through the evaporator coil.
162+
- bool
165163
- None
164+
- Evaporator fan usage status (True=On, False=Off). The fan pulls ambient air through the evaporator coil.
165+
- Converted from integer (0 or 1) to bool
166166
* - ``currentInstPower``
167167
- integer
168168
- W
169169
- Current instantaneous power consumption in Watts. Does not include heating element power when active.
170170
- None
171171
* - ``shutOffValveUse``
172-
- integer
172+
- bool
173173
- None
174174
- Shut-off valve usage status. The valve controls refrigerant flow in the system.
175-
- None
175+
- Converted from integer (0 or 1) to bool
176176
* - ``conOvrSensorUse``
177-
- integer
177+
- bool
178178
- None
179179
- Condensate overflow sensor usage status.
180-
- None
180+
- Converted from integer (0 or 1) to bool
181181
* - ``wtrOvrSensorUse``
182-
- integer
182+
- bool
183183
- None
184184
- Water overflow/leak sensor usage status. Triggers error E799 if leak detected.
185-
- None
185+
- Converted from integer (0 or 1) to bool
186186
* - ``dhwChargePer``
187187
- integer
188188
- %
@@ -209,20 +209,20 @@ This document lists the fields found in the ``status`` object of device status m
209209
- Freeze protection temperature setting.
210210
- ``raw + 20``
211211
* - ``antiLegionellaUse``
212-
- integer
212+
- bool
213213
- None
214214
- Whether anti-legionella function is enabled.
215-
- None
215+
- Converted from integer (0 or 1) to bool
216216
* - ``antiLegionellaPeriod``
217217
- integer
218218
- days
219219
- Anti-legionella function period.
220220
- None
221221
* - ``antiLegionellaOperationBusy``
222-
- integer
222+
- bool
223223
- None
224224
- Whether the anti-legionella function is busy.
225-
- None
225+
- Converted from integer (0 or 1) to bool
226226
* - ``programReservationType``
227227
- integer
228228
- None
@@ -244,15 +244,15 @@ This document lists the fields found in the ``status`` object of device status m
244244
- Temperature formula type.
245245
- None
246246
* - ``errorBuzzerUse``
247-
- integer
247+
- bool
248248
- None
249249
- Whether the error buzzer is enabled.
250-
- None
250+
- Converted from integer (0 or 1) to bool
251251
* - ``currentHeatUse``
252-
- integer
252+
- bool
253253
- None
254254
- Current heat usage.
255-
- None
255+
- Converted from integer (0 or 1) to bool
256256
* - ``currentInletTemperature``
257257
- float
258258
- °F
@@ -304,25 +304,25 @@ This document lists the fields found in the ``status`` object of device status m
304304
- Current superheat value - actual temperature difference between suction and evaporator temperatures.
305305
- ``raw / 10.0``
306306
* - ``heatUpperUse``
307-
- integer
308-
- None
309-
- Upper electric heating element usage status (1=On, 0=Off). Power: 3,755W @ 208V or 5,000W @ 240V.
307+
- bool
310308
- None
309+
- Upper electric heating element usage status (True=On, False=Off). Power: 3,755W @ 208V or 5,000W @ 240V.
310+
- Converted from integer (0 or 1) to bool
311311
* - ``heatLowerUse``
312-
- integer
313-
- None
314-
- Lower electric heating element usage status (1=On, 0=Off). Power: 3,755W @ 208V or 5,000W @ 240V.
312+
- bool
315313
- None
314+
- Lower electric heating element usage status (True=On, False=Off). Power: 3,755W @ 208V or 5,000W @ 240V.
315+
- Converted from integer (0 or 1) to bool
316316
* - ``scaldUse``
317-
- integer
317+
- bool
318318
- None
319319
- Scald protection active status. Displays warning when water temperature reaches levels that could cause scalding.
320-
- None
320+
- Converted from integer (0 or 1) to bool
321321
* - ``airFilterAlarmUse``
322-
- integer
322+
- bool
323323
- None
324324
- Air filter alarm usage - indicates if air filter maintenance reminder is enabled.
325-
- None
325+
- Converted from integer (0 or 1) to bool
326326
* - ``airFilterAlarmPeriod``
327327
- integer
328328
- hours

0 commit comments

Comments
 (0)