mirror of
https://github.com/esphome/esphome.git
synced 2026-08-22 22:26:21 +00:00
40 lines
1000 B
YAML
40 lines
1000 B
YAML
mitsubishi_cn105:
|
|
id: ac
|
|
uart_id: uart_bus
|
|
update_interval: 30s
|
|
telemetry_request_min_interval: 120s
|
|
vane:
|
|
on_state:
|
|
- logger.log:
|
|
format: "TRIGGER: vane on_state is auto: %s"
|
|
args: ['x.vertical.direction == VERTICAL_VANE_MODE_AUTO ? "yes" : "no"']
|
|
|
|
climate:
|
|
- platform: mitsubishi_cn105
|
|
mitsubishi_cn105_id: ac
|
|
name: "AC Test"
|
|
supported_swing_modes: BOTH
|
|
|
|
select:
|
|
- platform: mitsubishi_cn105
|
|
mitsubishi_cn105_id: ac
|
|
vertical_vane_direction:
|
|
name: "Vertical Vane"
|
|
|
|
esphome:
|
|
on_boot:
|
|
then:
|
|
- mitsubishi_cn105.set_remote_temperature:
|
|
id: ac
|
|
temperature: 22.0
|
|
- mitsubishi_cn105.clear_remote_temperature:
|
|
id: ac
|
|
- mitsubishi_cn105.vane.control:
|
|
id: ac
|
|
vertical:
|
|
direction: SWING
|
|
- mitsubishi_cn105.vane.control:
|
|
id: ac
|
|
vertical:
|
|
direction: !lambda return esphome::mitsubishi_cn105::VERTICAL_VANE_MODE_SWING;
|