marcfager / nspanel-mf

Custom HMI controlled by ESPHome for the Sonoff NSPanel. Includes media player card and home screen with weather data and clock. More to come.
215 stars 60 forks source link

Crash when calling climate.set_temperature #17

Closed DJBenson closed 2 years ago

DJBenson commented 2 years ago

Thanks for all the work you've done on this project - it's given me and I suspect many others a huge hand in getting these devices into a useful state.

I have taken your project and am extending it for heating but I have an issue when I call climate.set_temperature whereby if I send a temperature value (which of course is the whole point) the device never finishes booting (instead it sticks on the HA logo) and occasionally boot loops.

With the following code, the device boots but of course the buttons don't do anything;

  • platform: nextion name: $device_name Heating Up Button page_id: 0 component_id: 24 on_press: then:
    • homeassistant.service: service: climate.set_temperature data: entity_id: climate.kids_bed temperature: '20'

But with the following, the only difference being sending a temperature value, the device crashes;

  • platform: nextion name: $device_name Heating Up Button page_id: 0 component_id: 24 on_press: then:
    • homeassistant.service: service: climate.set_temperature data: entity_id: climate.kids_bed

I've tried variants of quotes to no avail.

If I look at the example here it clearly shows the temperature sent with a single quote but this doesn't work for me.

DJBenson commented 2 years ago

It seems some updates require a cold boot (kill power for 10 seconds) or the device fails to boot with the flashing screen I mentioned above.

Closing.