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.02k stars 995 forks source link

HA 0.115 beta breaks broadlink: Unable to find service broadlink/send #475

Closed SCUZNUTS closed 4 years ago

SCUZNUTS commented 4 years ago

Home Assistant version 1.115.0b0

SmartIR version 'Latest Stable/RC Version tested'

SmartIR configuration smartir: climate:

Switch:

Describe the bug

The new version of HA moves away from using broadlink/send to using remote.device to send commands.

Debug log


Traceback (most recent call last):
  File "/config/custom_components/smartir/climate.py", line 337, in send_command
    await self._controller.send(
  File "/config/custom_components/smartir/controller.py", line 92, in send
    await self.hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1265, 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.

vassilis-panos commented 4 years ago

The fix is ready. I guess as HA beta tester you know what to do :)

tayanov commented 4 years ago

Traceback (most recent call last): File "/config/custom_components/smartir/climate.py", line 337, in send_command await self._controller.send( File "/config/custom_components/smartir/controller.py", line 92, in send await self.hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1269, in async_call processed_data = handler.schema(service_data) File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 208, in call return self._exec((Schema(val) for val in self.validators), v) File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 287, in _exec raise e if self.msg is None else AllInvalid(self.msg, path=path) File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 283, in _exec v = func(v) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in call return self._compiled([], data) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable return schema(data) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in call return self._compiled([], data) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict return base_validate(path, iteritems(data), out) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid: not a valid value for dictionary value @ data['entity_id']

it is a beta 115. with 1.13 smartir. integration ac

may be need change config? i dont understand new integration broadlink

smartHomeHub commented 4 years ago

Please upgrade smartir from Hacs or RC brunch

tayanov commented 4 years ago

yes. im upgrade to 1.13 rc wersion early

tayanov commented 4 years ago

yea controller_data: 192.168.0.10 change to controller_data: remote.rm_mini_remote

smartHomeHub commented 4 years ago

Did you resolve the problem ?

tayanov commented 4 years ago

yes

SCUZNUTS commented 4 years ago

Can confirm rc release works fine. Thanks!