Excellent!
The lovelace thermostat card appears to be fully functional.
Edit: It isn’t updating properly. The status has shown idle from the start even though the fan and cooling have been going. It seems to take temp changes, though.
![image](//community-assets.home-assistant.io/original/3X/3/e/3e00601b51471286f88b434da93617eaf6546861.png)
But nothing seems to work on the pop-up with all of the attributes.
They show the correct values, but changing settings gives errors. Here are a couple:
SETTING HUMIDITY HERE:
2019-06-01 13:31:59 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1802424304] 'NexiaThermostat' object has no attribute 'get_device_id'
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/websocket_api/commands.py", line 121, in handle_call_service
connection.context(msg))
File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1141, in async_call
self._execute_service(handler, service_call))
File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1163, in _execute_service
await handler.func(service_call)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py", line 194, in handle_service
required_features
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 316, in entity_service_call
future.result() # pop exception if have
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 337, in _handle_service_platform_call
await getattr(entity, func)(**data)
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/nexia/climate.py", line 91, in set_humidity
self._device.set_target_humidity(humidty / 100.0)
File "/config/custom_components/nexia/nexia_thermostat.py", line 384, in set_target_humidity
url = self._get_thermostat_put_url("humidity_setpoints")
File "/config/custom_components/nexia/nexia_thermostat.py", line 342, in _get_thermostat_put_url
return "/houses/" + str(self.house_id) + "/xxl_thermostats/" + str(self.get_device_id()) + ("/" + text if text else "")
AttributeError: 'NexiaThermostat' object has no attribute 'get_device_id'
SETTING TEMP HERE:
2019-06-01 13:40:49 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1802424304] unsupported operand type(s) for +: 'NoneType' and 'int'
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/websocket_api/commands.py", line 121, in handle_call_service
connection.context(msg))
File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1141, in async_call
self._execute_service(handler, service_call))
File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1163, in _execute_service
await handler.func(service_call)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py", line 194, in handle_service
required_features
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 316, in entity_service_call
future.result() # pop exception if have
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 339, in _handle_service_platform_call
await func(entity, data)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/climate/__init__.py", line 559, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
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/nexia/climate.py", line 152, in set_temperature
if new_heat_temp + deadband > max_temp:
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
Thanks for getting this going!!!