SmartIR: Stopped working on the new update 0.115
Home Assistant version 0.115.0
SmartIR version 1.13.1
SmartIR configuration
# Intégration de smartir
smartir:
# Broadlink
switch:
# Broadlink du salon
- platform: broadlink
host: 192.168.1.104
mac: '24:DF:A7:34:BE:42'
# Broadlink de l'étage
- platform: broadlink
host: 192.168.1.105
mac: '24:DF:A7:E8:4D:26'
Describe the bug
Since the update of HA to 0.115.0, I can’t control my AC with SmartIR
Debug log
Logger: custom_components.smartir.climate
Source: core.py:1269
Integration: SmartIR (documentation)
First occurred: 10:52:06 (3 occurrences)
Last logged: 10:53:44
not a valid value for dictionary value @ data['entity_id']
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 101, 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']
Additional context
Other warning that I have:
Logger: homeassistant.components.broadlink.switch
Source: helpers/config_validation.py:752
Integration: Broadlink (documentation, issues)
First occurred: 10:49:43 (2 occurrences)
Last logged: 10:49:43
The 'host' option is deprecated, please remove it from your configuration
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 48 (10 by maintainers)
You need to replace the ip address, not the controller_data key. controller_data: remote.rm4c_mini_remote
See the docs.
https://www.home-assistant.io/blog/2020/09/17/release-115/#breaking-changes and replace the controller_data with the entity_id of the remote. https://github.com/smartHomeHub/SmartIR/blob/master/docs/CLIMATE.md#example-using-broadlink-controller