NotImplementedError
raise NotImplementedError
File "/usr/lib/python3.6/site-packages/homeassistant/components/climate/__init__.py", line 559, in temperature_unit
self.hass, self.current_temperature, self.temperature_unit,
File "/usr/lib/python3.6/site-packages/homeassistant/components/climate/__init__.py", line 486, in state_attributes
attr = self.state_attributes or {}
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 222, in async_update_ha_state
Traceback (most recent call last):
Thanks. It doesn’t work for me as the climate platform cannot be loaded. Looks like init.py needs to be modified to take 2 more arguments (unit_of_measurement and precision). WIll look into it when I have time
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 149, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/modbus/climate.py", line 76, in setup_platform
scale
TypeError: __init__() takes 9 positional arguments but 11 were given