zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

HIVE SLR2(x) climate entity

Open craigsbits opened this issue 1 year ago • 4 comments

What happened?

Climate heat endpoint 'occupied_heating_setpoint' changed to standard climate 'temperature' Documentation issue? Automations prevented from working.

What did you expect to happen?

not to change!

How to reproduce it (minimal and precise)

N/A

Zigbee2MQTT version

2.0.0

Adapter firmware version

20211217

Adapter

CC Stick 3.0 one as coordinator and another one as router

Setup

NUC OS

Debug log

N/A

craigsbits avatar Jan 04 '25 19:01 craigsbits

Just to add a bit more info here as I am also facing this problem.

I went back to 1.4.x and got a climate entity screenshot with all attributes that were available before the update.

hive_zb2_1 4 x

Now back on z2m 2.0.x, the climate entity is missing few attributes, namely the important for my case

  • system_mode
  • occupied_heating_setpoint
  • temperature_setpoint_hold_duration

which I use to see if someone already boosted heating through Hive Thermostat so I can prevent changes from my automation.

hive_z2m_2 0 x

How should this problem be corrected?

tominozh avatar Jan 04 '25 19:01 tominozh

I have the same story with the thermostat Moes TV01-ZB. z2m 1.42.0-2 Attribute:

hvac_modes:
  - "off"
  - heat
min_temp: 5
max_temp: 30
target_temp_step: 0.5
preset_modes:
  - none
  - auto
  - manual
  - holiday
current_temperature: 19.9
temperature: 23
preset_mode: manual
battery_low: false
boost_timeset_countdown: 0
child_lock: UNLOCK
comfort_temperature: 23
current_heating_setpoint: 23
eco_temperature: 20
error_status: 0
frost_protection: "OFF"
heating_stop: "OFF"
holiday_start_stop: 2021/01/01 01:01 | 2021/01/01 01:01
holiday_temperature: 17
linkquality: 33
local_temperature: 19.9
local_temperature_calibration: 0
online: "ON"
open_window: "OFF"
open_window_temperature: 18
preset: manual
schedule_friday: 06:00/17 12:00/21 14:00/17 17:00/21 24:00/17
schedule_monday: 06:00/17 12:00/21 14:00/17 17:00/21 24:00/17
schedule_saturday: 06:00/17 12:00/21 14:00/17 17:00/21 24:00/17
schedule_sunday: 06:00/17 12:00/21 14:00/17 17:00/21 24:00/17
schedule_thursday: 06:00/17 12:00/21 14:00/17 17:00/21 24:00/17
schedule_tuesday: 06:00/17 12:00/21 14:00/17 17:00/21 24:00/17
schedule_wednesday: 06:00/17 12:00/21 14:00/17 17:00/21 24:00/17
system_mode: heat
update:
  installed_version: 69
  latest_version: 69
  state: idle
update_available: false
working_day: mon_sun
friendly_name: Спальня, TRV 1
supported_features: 401

z2m 2.0.0 Attribute:

hvac_modes:
  - "off"
  - heat
min_temp: 5
max_temp: 30
target_temp_step: 0.5
preset_modes:
  - none
  - auto
  - manual
  - holiday
friendly_name: Спальня, TRV 1
supported_features: 401
current_temperature: 21
temperature: 23
preset_mode: manual

My automations are no longer working...

Fierys avatar Jan 05 '25 10:01 Fierys

Found in this article:

Entity attributes (homeassistant.legacy_entity_attributes setting) has been removed. This means that entities discovered by Zigbee2MQTT will no longer have entity attributes (Home Assistant entity attributes are accessed via e.g. states.binary_sensor.my_sensor.attributes).

If this is relevant to our problem, how can we implement it? My sensors are made like this:

      - sensor:

          - name: lr1_thermostat_current_heating_setpoint
            state: "{{state_attr('climate.0x2c1165fffe7bb27c', 'current_heating_setpoint') | float|round(1) }}"
            unit_of_measurement: °C
            icon: mdi:temperature-celsius

          - name: lr1_thermostat_local_temperature
            state: "{{state_attr('climate.0x2c1165fffe7bb27c', 'local_temperature') | float|round(1) }}"
            unit_of_measurement: °C
            icon: mdi:temperature-celsius

          - name: lr1_thermostat_local_temperature_calibration
            state: "{{state_attr('climate.0x2c1165fffe7bb27c', 'local_temperature_calibration') | float|round(1) }}"
            unit_of_measurement: °C
            icon: mdi:temperature-celsius

Fierys avatar Jan 07 '25 09:01 Fierys

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Mar 09 '25 00:03 github-actions[bot]