|
314 | 314 | # Excluded: |
315 | 315 | # zone_thermosstat 'temperature_offset' |
316 | 316 | # radiator_valve 'uncorrected_temperature', 'temperature_offset' |
| 317 | + |
| 318 | + |
| 319 | + |
| 320 | + |
317 | 321 | DEVICE_MEASUREMENTS = { |
318 | 322 | # HA Core current_temperature |
319 | 323 | "temperature": {ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS}, |
320 | 324 | # HA Core setpoint |
321 | | - "thermostat": {ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS}, |
| 325 | + "thermostat": {ATTR_NAME: "setpoint", ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS}, |
322 | 326 | # Anna/Adam |
323 | | - "boiler_temperature": {ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS}, |
324 | | - "domestic_hot_water_state": {ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS}, |
| 327 | + "boiler_temperature": {ATTR_NAME: "water_temperature", ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS}, |
| 328 | + "domestic_hot_water_state": { |
| 329 | + ATTR_NAME: "dhw_state", |
| 330 | + ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS, |
| 331 | + }, |
325 | 332 | "intended_boiler_temperature": { |
326 | 333 | ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS |
327 | 334 | }, # non-zero when heating, zero when dhw-heating |
328 | 335 | "intended_central_heating_state": { |
329 | | - ATTR_UNIT_OF_MEASUREMENT: None |
| 336 | + ATTR_NAME: "heating_state", |
| 337 | + ATTR_UNIT_OF_MEASUREMENT: None, |
330 | 338 | }, # use intended_c_h_state, this key shows the heating-behavior better than c-h_state |
331 | 339 | "modulation_level": {ATTR_UNIT_OF_MEASUREMENT: PERCENTAGE}, |
332 | | - "return_water_temperature": {ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS}, |
| 340 | + "return_water_temperature": { |
| 341 | + ATTR_NAME: "return_temperature", |
| 342 | + ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS, |
| 343 | + }, |
333 | 344 | # Used with the Elga heatpump - marcelveldt |
334 | 345 | "compressor_state": {ATTR_UNIT_OF_MEASUREMENT: None}, |
335 | 346 | "cooling_state": {ATTR_UNIT_OF_MEASUREMENT: None}, |
|
339 | 350 | ATTR_UNIT_OF_MEASUREMENT: None |
340 | 351 | }, # also present when there is a single gas-heater |
341 | 352 | # Anna only |
342 | | - "central_heater_water_pressure": {ATTR_UNIT_OF_MEASUREMENT: PRESSURE_BAR}, |
| 353 | + "central_heater_water_pressure": { |
| 354 | + ATTR_NAME: "water_pressure", |
| 355 | + ATTR_UNIT_OF_MEASUREMENT: PRESSURE_BAR, |
| 356 | + }, |
343 | 357 | "outdoor_temperature": { |
344 | 358 | ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS |
345 | 359 | }, # Outdoor temp as reported on the Anna, in the App |
|
0 commit comments