Invalid config for 'climate' from integration 'generic_thermostat' at yamls/generic_thermostat.yaml, line 12: expected float for dictionary value 'target_temp', got 'sensor.house_furnace_temp_set', please check the docs at https://www.home-assistant.io/integrations/generic_thermostat
i have a file that has a temperature say 5 i through at it and i want to also add a Set button you can you set button saves it to a file so when you reboot HA it reads the temperature i set to the text file not the default 20 degrees… but i getting that error
how do i modify it to work… i get the sensor to read 5 but i want the thermostat to import it and i wanna do a Set button that saves the new value to the text file
@koying
so i tried to make an automation using the action climate.set_temperature from the sensor… but i still get a dictionary error… i havent tried being able to write to a file yet… but trying to read file from boot. maybe i cant do it unless you do it in nodered?
I checked if this is the error, but the usage of 2 times the same quotation marking in a line will cause issues.
It will be read as '{{states(' is a text, sensor.house_furnace_temp_set is some variable, and ') }}' is again text.
Try to use a double quotes for the other ones, like "{{states('sensor.house_furnace_temp_set') }}"
so you can change the set value of the temperature
so say if its set to 10 degrees when you reboot home assistant it reads the file and sets to 10 degrees… but now if i want it to be set to 5 degrees i want change the file to 5 so when home assistant reboots it will set the temperature to 5 and not 10
its like any House thermostate… when you set the temperature it saves it… i trying to do it the same you set the value and press the script button and it saves the value to the txt file so its saved so when HA reboots it reads that file and not the value that i set in the generic_thermostat.yaml thats not changeable as i learned the way i was hoping
so in the picture ud hit the save temperature button and it would save that 10 degrees to to the house_furance.txt so when HA boots up it will read that value in the home automation you guys helped me with
There can be setups where the target room temperature can not be calculated backwards from the heating devices, because there are too many factors playing in.
In such cases storing the setpoint temperature will be necessary and the generic thermostat feature is made for exactly for such cases, where a standard thermostat setpoint will not suit the situation.