Skip to content

Commit 595cb79

Browse files
authored
Merge pull request #317 from plugwise/typing_bug
Fix typing-bug
2 parents 610907a + 23b84ad commit 595cb79

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Changelog
22

3-
## Ongoing
3+
## v0.31.4: Improvements
44

55
- Improve fixture generation and manual fixtures, exposing (prettier-ed) fixtures
6+
- Fix unneeded Union-typing
67

78
## v0.31.3: Typing updates, improved fixture generation and manual mode-changes
89

plugwise/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,8 @@ class DeviceData(
501501
available: bool | None
502502

503503
binary_sensors: SmileBinarySensors
504-
max_dhw_temperature: ActuatorData | float
505-
maximum_boiler_temperature: ActuatorData | float
504+
max_dhw_temperature: ActuatorData
505+
maximum_boiler_temperature: ActuatorData
506506
sensors: SmileSensors
507507
switches: SmileSwitches
508508
thermostat: ActuatorData

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "plugwise"
7-
version = "0.31.3"
7+
version = "0.31.4"
88
license = {file = "LICENSE"}
99
description = "Plugwise Smile (Adam/Anna/P1) and Stretch module for Python 3."
1010
readme = "README.md"

0 commit comments

Comments
 (0)