Releases: plugwise/python-plugwise
Releases · plugwise/python-plugwise
Smile: prepare for using the HA Core DataUpdateCoordintor in Plugwise-beta
All changes:
- Change the output to enable the full use of the HA Core DUC in plugwise-beta (using
coordinator.data
). - Change
state_class
tototal
for interval- and net_cumulative sensors (following the HA Core sensor platform updates). - Remove all remnant code related to last_reset (log_date)
- Restructure: introduce additional classes: SmileComm and SmileConnect
Fix P1 legacy location handling error
v0.14.2 Update CHANGELOG.md
Smile: sensor-platform updates - 2021.9 compatible
Merge pull request #99 from plugwise/last_reset Squash last_resets and bump version
Smile: fully support legacy-type Smile P1 (specifically with firmware v2.1.13)
Merge pull request #96 from plugwise/Fix_p1v2_sensornames Fix point-sensor-names for P1 v2
Energy support and bugfixes
- Stick: Add new properties
energy_consumption_today
counter andenergy_consumption_today_last_reset
timestamp. These properties
can be used to properly measure the used energy. Very useful for the 'Energy' capabilities introduced in Home Assistant 2021.8. - Stick: Synchronize clock of all plugwise devices once a day
- Stick: Reduced local clock drift from 30 to 5 seconds
- Stick: Optimized retrieval and handling of energy history
- Smile: add the required sensor attributes for Energy support
- Smile: add last_reset timestamps for interval-sensors and cumulative sensors
- Smile: fix the unit_of_measurement of electrical-cumulative-sensors (Wh --> kWh)
Fix new and remaining pylint warnings
Merge pull request #91 from plugwise/fix_act_dev_pr_init Fix new/remaining pylint warnings
Code improvements
- Smile: improve use of protection for functions and parameter
- Fix pylint warnings and errors
Move functionality into backend, rearrange data in output
Rearrange data: the outputs of get_all_devices() and get_device_data() are combined into self.gw_devices. Binary_sensors, sensors and switches are included with all their attributes, in lists.
Two classes have been added (entities.py), one for master_thermostats and one for binary_sensors, these classes now handle the processing of data previously done in plugwise-beta (climate.py and binary_sensor.py).
Stick: bugfix, general: quality improvements.
Stick: quality improvements and fixing plugwise-beta bug #168
Smile: many quality-related improvements, no changes in functionality
Add lock-state switches
- Support for getting and setting the lock-state of Plugs-, Circles-, Stealth-switches. A set lock-state prevents a switch from being turned off.
- There is no lock_state available for the following special Plugwise classes:
central heating pump
andvalue actuator
.