smartHomeHub / SmartIR

Integration for Home Assistant to control climate, TV and fan devices via IR/RF controllers (Broadlink, Xiaomi, MQTT, LOOKin, ESPHome)
MIT License
2.05k stars 1.01k forks source link

Broadlink not working with the latest .110 #357

Closed ranrinc closed 4 years ago

ranrinc commented 4 years ago

Home Assistant version .110

SmartIR version 1.10

SmartIR configuration

smartir:
climate:
  - platform: smartir
    name: Master Bed Room AC
    unique_id: mbr_ac
    device_code: 1100
    controller_data: !secret broad_rm_ip
    temperature_sensor: sensor.temperature
    humidity_sensor: sensor.humidity
    power_sensor: binary_sensor.ac_power

Describe the bug

The climate shown correctly but the broadlink RM did not working

Debug log


Traceback (most recent call last):
  File "/config/custom_components/smartir/climate.py", line 338, in send_command
    self._commands[operation_mode][fan_mode][target_temperature])
  File "/config/custom_components/smartir/controller.py", line 85, in send
    'broadlink', 'send', service_data)
  File "/usr/src/homeassistant/homeassistant/core.py", line 1212, in async_call
    raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Unable to find service broadlink/send

Additional context

Add any other context about the problem here.

ranrinc commented 4 years ago

Nevermind.. its working now..

RedGuilhas commented 4 years ago

Nevermind.. its working now..

What did you do to make it working? I'm having the same issue.

Thanks