Hi, please help me.
I get tokenset.json correctly put in the same folder of configuration.yaml, for an heat pump Altherma 3 but in HA i have 1 device and one entity unvailable.
this is my log:
`
Logger: homeassistant.components.climate
Source: custom_components/daikin_residential/daikin_base.py:101
Integration: Climate (documentation, issues)
First occurred: 10:59:43 PM (1 occurrences)
Last logged: 10:59:43 PM
Error while setting up daikin_residential platform for climate
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 205, in _async_setup_platform
await asyncio.shield(task)
File “/config/custom_components/daikin_residential/climate.py”, line 84, in async_setup_entry
async_add_entities([DaikinClimate(device)], update_before_add=True)
File “/config/custom_components/daikin_residential/climate.py”, line 98, in init
ATTR_SWING_MODE: self._device.swing_modes,
File “/config/custom_components/daikin_residential/daikin_base.py”, line 239, in swing_modes
hMode = self.getData(ATTR_HSWING_MODE)
File “/config/custom_components/daikin_residential/daikin_base.py”, line 106, in getData
cmd_set = self.getCommandSet(param)
File “/config/custom_components/daikin_residential/daikin_base.py”, line 101, in getCommandSet
cmd_set[2] = cmd_set[2].replace("%operationMode%", operation_mode)
TypeError: replace() argument 2 must be str, not None
and
Logger: homeassistant.components.sensor
Source: custom_components/daikin_residential/daikin_base.py:286
Integration: Sensor (documentation, issues)
First occurred: 10:59:43 PM (2 occurrences)
Last logged: 10:59:43 PM
Error adding entities for domain sensor with platform daikin_residential
Error while setting up daikin_residential platform for sensor
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 322, in async_add_entities
await asyncio.gather(*tasks)
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 514, in _async_add_entity
await entity.add_to_platform_finish()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 547, in add_to_platform_finish
self.async_write_ha_state()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 310, in async_write_ha_state
self._async_write_ha_state()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 334, in _async_write_ha_state
sstate = self.state
File “/config/custom_components/daikin_residential/sensor.py”, line 132, in state
return self._device.inside_temperature
File “/config/custom_components/daikin_residential/daikin_base.py”, line 286, in inside_temperature
return float(self.getValue(ATTR_INSIDE_TEMPERATURE))
TypeError: float() argument must be a string or a number, not ‘NoneType’
`
what i do wrong?
how integration can connet to daikin servers only with token? There’s a place to config email and password?
Thanks…