Skip to content

Home Assistant reporting: "Template variable warning: 'off' is undefined when rendering '{{value_json.hc1['cooling'] if value_json.hc1 is defined and value_json.hc1['cooling'] is defined else off}}'" #2184

Closed Answered by timostr
timostr asked this question in Q&A
Discussion options

You must be logged in to vote

the output of mqtt-explorer for thermostat_data is:

{
  "datetime": "07.11.2024 12:11",
  "intoffset": 0,
  "floordry": "off",
  "dampedoutdoortemp": 6.5,
  "floordrytemp": 0,
  "building": "medium",
  "minexttemp": -10,
  "damping": "on",
  "energycostratio": 0,
  "pvenabledhw": "off",
  "pvraiseheat": 2,
  "pvlowercool": 0,
  "hc1": {
    "seltemp": 21,
    "haclimate": "selTemp",
    "mode": "auto",
    "modetype": "comfort",
    "ecotemp": 19,
    "manualtemp": 25,
    "comforttemp": 21,
    "summertemp": 14,
    "designtemp": 35,
    "offsettemp": 0,
    "minflowtemp": 25,
    "maxflowtemp": 40,
    "roominfluence": 0,
    "roominflfactor": 0,
    "curroominfl": 0,
    "nofrostmode":…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@timostr
Comment options

Comment options

You must be logged in to vote
3 replies
@timostr
Comment options

@proddy
Comment options

@timostr
Comment options

Answer selected by proddy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants