vzoltan
(Zoltan)
August 15, 2022, 12:54pm
1
Hi
id like to request the additional features from the official whirlpool mobileapp to add to HA Whirlpool integration such as:
Read the value of the Humidity sensor of the AC not just the Temperature value
Mode: Cooling, Fan only, Heating, 6th Sense
Fan: Off, Automatic, Low, Medium, High
Sleep: Off, Sleeep for Adults, Sleep for Elderly, Sleep for teens, Sleep for chidlren
Swing: on, off
Jet: on, off
Super silent: on, off
Dim: on, off
+ extra if possible:
Shcedule (not really important, since in home assistant we can create schedule via automation.)
opened 03:58PM - 07 Apr 22 UTC
integration: whirlpool
### The problem
I have an AC that worked with home assistant using the Whirlpoo… l Sixth Sense integration. With the latest updates, it stopped working.
[log_error_whirlpool.txt](https://github.com/home-assistant/core/files/8444118/log_error_whirlpool.txt)
I am not sure if it had something to do with home assistant updates or if Whirlpool changed the way its protocol works.
Sorry if I created this in the wrong place.
### What version of Home Assistant Core has the issue?
core-2022.4.0
### What was the last working version of Home Assistant Core?
core-2022.3.7
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
Whirlpool Sixth Sense
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/whirlpool
### Diagnostics information
_No response_
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
```txt
Logger: homeassistant.components.climate
Source: components/whirlpool/climate.py:108
Integration: Climate (documentation, issues)
First occurred: 3:01:21 PM (4 occurrences)
Last logged: 3:45:45 PM
Error adding entities for domain climate with platform whirlpool
Error while setting up whirlpool platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 798, in add_to_platform_finish
await self.async_added_to_hass()
File "/usr/src/homeassistant/homeassistant/components/whirlpool/climate.py", line 108, in async_added_to_hass
await self._aircon.connect()
File "/usr/local/lib/python3.9/site-packages/whirlpool/appliance.py", line 105, in connect
await self.start_event_listener()
File "/usr/local/lib/python3.9/site-packages/whirlpool/appliance.py", line 122, in start_event_listener
await self.fetch_data()
File "/usr/local/lib/python3.9/site-packages/whirlpool/appliance.py", line 66, in fetch_data
self._data_dict = json.loads(await r.text())
File "/usr/local/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
```
### Additional information
_No response_
Humidity sensor is already available as one of the attributes of the entity, it is just not displayed by the Climate card, but you can still use it and create a sensor card for it.