Skip to content

Commit

Permalink
Merge pull request #123 from dlarrick/dcl_121
Browse files Browse the repository at this point in the history
Pick up latest pykumo to restore `auto` fan speed. Fixes #121
  • Loading branch information
dlarrick authored Sep 3, 2023
2 parents 36ac2e0 + 2c76ada commit 5aae7c1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ By default a sensor for current temperature is enabled. It's possible to enable

To enable these optional sensors, click on the Kumo tile in Settings -> Devices and Services, go into the Devices section, click on the indoor unit (or Kumo Station) and enable them under Sensors.

**Note** that you will need to restart HmomeAssistant after enabling a new sensor type, due to [Issue 120](https://github.com/dlarrick/hass-kumo/issues/120).

### Template Sensors

For additional attributes not covered above, or if you require more customization, you can convert attributes to sensors using [templates](https://community.home-assistant.io/t/using-attributes-in-lovelace/72672). For example, here's a simple sensor for the target temperature.
Expand Down
4 changes: 2 additions & 2 deletions custom_components/kumo/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ async def async_setup_entry(hass: HomeAssistantType, entry: ConfigEntry, async_a
coordinators = hass.data[DOMAIN][entry.entry_id][KUMO_DATA_COORDINATORS]

entities = []
indor_unit_serials = await hass.async_add_executor_job(account.get_indoor_units)
for serial in indor_unit_serials:
indoor_unit_serials = await hass.async_add_executor_job(account.get_indoor_units)
for serial in indoor_unit_serials:
coordinator = coordinators[serial]
entities.append(KumoThermostat(coordinator))
_LOGGER.debug("Adding entity: %s", coordinator.get_device().get_name())
Expand Down
8 changes: 6 additions & 2 deletions custom_components/kumo/kumo_cloud_setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env python3
""" Fetch required info from KumoCloud and produce HomeAssistant configuration
section for the units found there
""" Fetch required info from KumoCloud and produce HomeAssistant YAML
configuration section for the units found there
NOTE: This code is legacy, not used anymore since switching to the `pykumo`
library. The Kumo integration no longer supports YAML configuration.
It's retained because it has some small utility as an example.
"""

import getpass
Expand Down
4 changes: 2 additions & 2 deletions custom_components/kumo/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"documentation": "https://github.com/dlarrick/hass-kumo",
"dependencies": [],
"codeowners": [ "@dlarrick" ],
"requirements": ["pykumo==0.3.6"],
"version": "0.3.7",
"requirements": ["pykumo==0.3.7"],
"version": "0.3.8",
"homeassistant": "2021.12.0"
}

0 comments on commit 5aae7c1

Please sign in to comment.