home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
3.79k stars 2.59k forks source link

Thermostat - current UI has no provision for EMheat mode or Aux control. #18367

Closed BenchmarkCreative closed 8 months ago

BenchmarkCreative commented 8 months ago

Checklist

Describe the issue you are experiencing

Older thermostat UI block had an option to switch the Heat modes that seems to be missing from the current UI. It can still be controlled from the developer console by issuing the correct calls.

Describe the behavior you expected

Used to have a EMheat (AUX) mode toggle. This is useful to control fuel source for the heating system dynamically based on outside temp or costs of electricity vs. natural gas.

Steps to reproduce the issue

1.open thermostat - its not there?? 2. 3. ...

What version of Home Assistant Core has the issue?

2023.10.5

What was the last working version of Home Assistant Core?

?

In which browser are you experiencing the issue with?

chrome

Which operating system are you using to run this browser?

win 11

State of relevant entities

hvac_modes: off, heat_cool, cool, heat
min_temp: 59
max_temp: 81
fan_modes: on, auto, diffuse
preset_modes: none, away, Hold
current_temperature: 69
temperature: 69
target_temp_high: null
target_temp_low: null
current_humidity: 56
fan_mode: auto
hvac_action: fan
preset_mode: null
aux_heat: on
fan_action: running
permanent_hold: false
dr_phase: -1
friendly_name: THERMOSTAT
supported_features: 91

Problem-relevant frontend configuration

- type: thermostat
    entity: climate.thermostat

Javascript errors shown in your browser console/inspector

none

Additional information

I think this was simply removed

matthiasdebaat commented 8 months ago

It's indeed removed from the UI. In this approved architecture discussion, you can find why it was removed and its proposal.

Instead, integrations that use it can use a switching entity and add it to the device, or, in case it is a read-only property, be exposed as a binary sensor.

BenchmarkCreative commented 8 months ago

Any change you can point me to a tutorial on setting up a switching entity for this purpose? I am struggling to find direction on how to implement this.