Open oliiivier opened 2 months ago
looks like if target_temp_step is not set for the climate attribut falls back to an empty string and not 0.5
: https://github.com/Clooos/Bubble-Card/blob/main/src/cards/button/helpers.ts#L54
Hi! Thank you for your help @Marmelatze! Don't hesitate to do a pull request if you have some time for that! 👌
I do have the same issue. I have two different types of climate devices, one with _target_tempstep (working fine) and one without (not working, same error like @oliiivier).
Unfortunately, I have little experience with programming in HA, but would replacing the ?? with || solve the problem? https://github.com/Clooos/Bubble-Card/blob/main/src/cards/button/helpers.ts#L146
I'm on it! I forgot to fix it in the previous beta but it will be fixed in the next one! I'm also finally working on a climate card with buttons! So just wait for it 😁
Describe the bug
A clear and concise description of what the bug is. when I used a slider with my climate thermostat, i've got this error when I slide to change the temperature : Échec de l'appel du service climate/set_temperature. expected float for dictionary value @ data['temperature']
YAML
my button :
my climate :
Informations (please complete the following information):
Thank you! 🍻