h0n entities are not refreshing properly
there are some diffs between diagnostic/sensor status data in entities shared by h02 integration and native h0n application from haier, for example elapsed time or machine status, in attached screen there is diff 12min(h0n app) vs 14min(HA)
I have the same problem. I am using a Haier air conditioner. The temperature does not update. The commands work well.
v0.14.0 Core 2025.5.3 Supervisor 2025.05. Operating System 15.2 Frontend 20250516.0
Following for the fix. Entities are not updating unless manually reloaded the integration
Yes, I confirm that. So the solution is a script (automation) to reload the entire integration, for example, every minute?
could you share this script? working well?
I have automation. The base is an entity that I query for status and thus force an integration update. Advantage: it works :) Disadvantage: Load time is 30s There are no values in the lovelace at the time of loading (30s)
‐--‐-------------- automation-------------------
alias: Pravidelné znovunačtení integrace Haier (flexibilní interval) triggers:
- minutes: /5 seconds: 0 id: trigger_5_min trigger: time_pattern
- seconds: 0 id: trigger_60_min trigger: time_pattern hours: /1 conditions: [] actions:
- choose:
- conditions:
- condition: trigger id: trigger_5_min
- condition: time after: "06:00:00" before: "22:00:00" sequence:
- target: entity_id: sensor.obyvaci_pokoj_cilova_teplota data: {} alias: Znovunačtení Haier (den - každých 5 min) action: homeassistant.reload_config_entry
- conditions:
- condition: trigger id: trigger_60_min
- condition: or
conditions:
- condition: time after: "22:00:00"
- condition: time before: "06:00:00" sequence:
- target: entity_id: sensor.obyvaci_pokoj_cilova_teplota data: {} alias: Znovunačtení Haier (noc - každých 60 min) action: homeassistant.reload_config_entry mode: single
- conditions:
I disabled unused entities. The integration update speed is shorter.