I got my esphome script working as below.
What i now want is to insert de BLE temp sensor in de climate section as the room temperature for my HVAC
I tried a few things but it only corrupts the script and wont work.
Is there someone who knows how to implement this smal part below into my script?
on_value:
then:
- lambda: ‘id(hp).set_remote_temperature(x);’ "
Below here is my working script.
esphome:
name: esphome-web-6a279c
friendly_name: ESPHome Web 6a279c
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
baud_rate: 0
# Enable Home Assistant API
api:
encryption:
key: "---"
ota:
password: "---"
web_server:
port: 80
wifi:
ssid: ---
password: ---
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Web-6A279C"
password: "---"
captive_portal:
esp32_ble_tracker:
ble_client:
- mac_address: --
sensor:
- platform: atc_mithermometer
mac_address: "--"
temperature:
name: "ATC Temperature"
humidity:
name: "ATC Humidity"
external_components:
- source: github://geoffdavis/esphome-mitsubishiheatpump
climate:
- platform: mitsubishi_heatpump
name: "airco esp32"
supports:
mode: [COOL, DRY, HEAT, FAN_ONLY]
fan_mode: [AUTO, LOW, MEDIUM, HIGH]
swing_mode: ["OFF", "VERTICAL"]
visual:
min_temperature: 15
max_temperature: 31
temperature_step: 0.5