Skip to content

Commit

Permalink
Merge pull request #24 from msp1974/dev
Browse files Browse the repository at this point in the history
v1.6.2
  • Loading branch information
msp1974 authored Dec 3, 2024
2 parents 39c8e2f + ec89e0e commit 2473cb0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Drayton Wiser Hub API Async v1.6.1
# Drayton Wiser Hub API Async v1.6.2

This repository contains a simple API which queries the Drayton Wiser Heating sysystem used in the UK.

Expand Down Expand Up @@ -52,6 +52,10 @@ Documentation available in [info.md](https://github.com/msp1974/wiserHeatAPIv2/b

## Changelog

### v1.6.2
* Refactor: Removed unused imports causing error in python3.13
* Fix: Add equipment data during deviuce build process

### v1.6.1
* Added: support for temperature and humidity sensors

Expand Down
2 changes: 1 addition & 1 deletion aioWiserHeatAPI/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
name = "aioWiserHeatAPI"
__all__ = ["wiserAPI", "wiserDiscovery"]

__VERSION__ = "1.6.1"
__VERSION__ = "1.6.2"

_LOGGER = logging.getLogger(__name__)
4 changes: 4 additions & 0 deletions aioWiserHeatAPI/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ def _build(self):
else:
device_schedule = None

# If has equipment data add to device info
if equipment_id := device.get("EquipmentId"):
device["EquipmentData"] = self._get_equipment_data(equipment_id)

# Add device to collection
self._device_collection[device_type]._items.append(
device_class(
Expand Down
4 changes: 0 additions & 4 deletions aioWiserHeatAPI/helpers/misc.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
from pathlib import Path, _ignore_error as pathlib_ignore_error
from typing import Union

import aiofiles.os as os
import enum


async def file_exists(file: str) -> bool:
Expand Down

0 comments on commit 2473cb0

Please sign in to comment.