Comtezero
(Comtezero)
August 13, 2023, 10:05am
1
Hello,
I am using an ESPHome with IR to pilot my heatpump.
When i added it to home assistant, it automaticaly add a thermostat like this:
But the temperature don’t work because it cannot use the good sensor.
I want to modify it, but i don’t know where i can.
I try to create a generic thermostat, but i don’t understand how i can’t add all options like ‘cold’, ‘heat’, ‘ventilate’ or other kind of values which are on the screenshot.
Anyone know how i can modify this one?
Rudd-O
(Rudd-O)
August 13, 2023, 11:29am
2
You need to add a sensor, probably imported from HA, to the temperature sensor of the config.
Basically you need to paste the YAML otherwise we can’t help you further.
Comtezero
(Comtezero)
August 13, 2023, 11:56am
3
I have only this yaml associated to this thermostat:
type: thermostat
entity: climate.esphome_web_d743e4_living_room_ac
tom_l
August 13, 2023, 12:59pm
5
Share your ESPHome config.
Comtezero
(Comtezero)
August 13, 2023, 2:42pm
6
esphome:
name: esphome-web-d743e4
friendly_name: Emetteur IR
esp8266:
board: nodemcuv2
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "t9Xqyq/pb0WS9xbDfFFHZRMfXVE+reEjMM2draMG0aM="
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "xxx"
password: "xxx"
captive_portal:
# Example configuration entry
remote_transmitter:
pin: D1
carrier_duty_percent: 50%
climate:
- platform: heatpumpir
protocol: hitachi
max_temperature: 30
min_temperature: 16
horizontal_default: auto
vertical_default: auto
name: "Living Room AC"
Comtezero
(Comtezero)
August 13, 2023, 2:43pm
7
For this one, i must write this code on the ESP or configuration.yaml of HA?
Arh
August 13, 2023, 3:20pm
8
Your yaml code you have in your esphome code is meant for the configuration.yml for esphome you need to use the code linked above.
If when using the new code you have issues just ask someone will help.