It seems the ’ name’ is missing…otherwise this compiles fine:
remote_transmitter:
pin: GPIO13 # For iot-uni-stick.
carrier_duty_percent: 100% # 50% for IR LED, 100% for direct connect to TSOP IR receiver output.
# Sensors. sensor.masterbedroom_temperature
sensor:
- platform: homeassistant
name: Remote tempertature Sensor
entity_id: sensor.masterbedroom_temperature # Sensor from HASS
internal: true
filters:
- throttle: 10s
- heartbeat: 2min # Maximum interval between updates.
- debounce: 1s
on_value:
midea_ac.follow_me:
temperature: !lambda "return x;"
beeper: false
and yes, it should stay ’ return x’
Regarding IR, you have 2 options:
either you use a real IR led, or you use a wire connected to the pin of the IR sensor
Hence 2 choices for config
- 50% for IR LED
- 100% for direct connect to TSOP IR
also mentioned on github how to wire it up: