Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.81.1 lovelace thermostat card not working with opentherm gateway hub #1915

Closed
ghost opened this issue Oct 29, 2018 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Oct 29, 2018

@reyapo commented on Oct 29, 2018, 3:18 PM UTC:

Home Assistant release with the issue:
0.81.1

Last working Home Assistant release (if known):
0.80.something

Operating environment (Hass.io/Docker/Windows/etc.):
arch linux virtualenv

Component/platform:
https://www.home-assistant.io/lovelace/thermostat/

Description of problem:
The thermostat component does not seem to work with the new opentherm gateway hub
It does not render and throws a javascrip error.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
ui-lovelace.yaml:

- type: thermostat
  entity: climate.kamer_thermostaat

configuration.yaml:

opentherm_gw:
  device: /dev/ttyUSB1
  climate:
    name: kamer_thermostaat
    precision: 0.5
    floor_temperature: true  
  monitored_variables:
    - room_setpoint
    - room_temp
    - otgw_about
    - burner_hours
    - burner_starts
    - ch_water_temp
    - dhw_flow_rate
    - dhw_temp

Traceback (if applicable):

TypeError: stateObj.attributes.operation_list is undefined[Learn More] 8a696fdac4ce3eb749b3.chunk.js:1696 

the affected line:

<div class="modes">
   ${stateObj.attributes.operation_list.map(modeItem=>this._renderIcon(modeItem,mode))}
</div>

Additional information:
Problems occurs on multiple platforms, firefox, chromium and android blaze

This issue was moved by fabaff from home-assistant/home-assistant#17954.

@zsarnett
Copy link
Contributor

Fix has already been merged waiting for next hotfix #1901

@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant