Skip to content

Commit

Permalink
Merge pull request #510 from plugwise/split_legacy_active
Browse files Browse the repository at this point in the history
Refactor into separate paths for actual and legacy Plugwise devices
  • Loading branch information
bouwew authored Feb 4, 2024
2 parents 7bc997e + 0415ddc commit 4802db8
Show file tree
Hide file tree
Showing 254 changed files with 3,188 additions and 64,550 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.37.0

- Refactor code into separate parts/paths for actual and legacy Plugwise devices.

## v0.36.3

- Bugfixes for [#558](https://github.com/plugwise/plugwise-beta/issues/558) and [#559](https://github.com/plugwise/plugwise-beta/issues/559).
Expand Down
2 changes: 1 addition & 1 deletion fixtures/adam_heatpump_cooling/all_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"available": true,
"binary_sensors": {
"cooling_state": false,
"dhw_state": false,
"dhw_state": true,
"flame_state": false,
"heating_state": false
},
Expand Down
24 changes: 0 additions & 24 deletions fixtures/adam_heatpump_cooling/device_list.json

This file was deleted.

1 change: 0 additions & 1 deletion fixtures/adam_heatpump_cooling/notifications.json

This file was deleted.

2 changes: 1 addition & 1 deletion fixtures/adam_jip/all_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"name": "Tom Slaapkamer",
"sensors": {
"setpoint": 13.0,
"temperature": 24.3,
"temperature": 24.2,
"temperature_difference": 1.7,
"valve_position": 0.0
},
Expand Down
13 changes: 0 additions & 13 deletions fixtures/adam_jip/device_list.json

This file was deleted.

1 change: 0 additions & 1 deletion fixtures/adam_jip/notifications.json

This file was deleted.

2 changes: 1 addition & 1 deletion fixtures/adam_multiple_devices_per_zone/all_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"model": "Plug",
"name": "Playstation Smart Plug",
"sensors": {
"electricity_consumed": 82.6,
"electricity_consumed": 84.1,
"electricity_consumed_interval": 8.6,
"electricity_produced": 0.0,
"electricity_produced_interval": 0.0
Expand Down
20 changes: 0 additions & 20 deletions fixtures/adam_multiple_devices_per_zone/device_list.json

This file was deleted.

5 changes: 0 additions & 5 deletions fixtures/adam_multiple_devices_per_zone/notifications.json

This file was deleted.

4 changes: 2 additions & 2 deletions fixtures/adam_onoff_cooling_fake_firmware/all_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"0ca13e8176204ca7bf6f09de59f81c83": {
"binary_sensors": {
"cooling_state": true,
"dhw_state": false,
"dhw_state": true,
"flame_state": false,
"heating_state": false
},
Expand All @@ -25,7 +25,7 @@
"name": "OnOff",
"sensors": {
"dhw_temperature": 63.5,
"intended_boiler_temperature": 35.0,
"intended_boiler_temperature": 0.0,
"modulation_level": 0.0,
"outdoor_air_temperature": 13.5,
"return_temperature": 24.9,
Expand Down
5 changes: 0 additions & 5 deletions fixtures/adam_onoff_cooling_fake_firmware/device_list.json

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions fixtures/adam_plus_anna/all_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"name": "OpenTherm",
"sensors": {
"intended_boiler_temperature": 0.0,
"water_temperature": 47.0
"water_temperature": 48.0
},
"switches": {
"dhw_cm_switch": false
Expand Down Expand Up @@ -92,7 +92,7 @@
"location": "5ccb6c41a7d9403988d261ceee04239f",
"name": "Work-PC",
"sensors": {
"electricity_consumed": 79.8,
"electricity_consumed": 80.5,
"electricity_consumed_interval": 7.03,
"electricity_produced": 0.0,
"electricity_produced_interval": 0.0
Expand Down
7 changes: 0 additions & 7 deletions fixtures/adam_plus_anna/device_list.json

This file was deleted.

5 changes: 0 additions & 5 deletions fixtures/adam_plus_anna/notifications.json

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 3 additions & 3 deletions fixtures/adam_plus_anna_new/all_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"model": "Generic heater",
"name": "OpenTherm",
"sensors": {
"intended_boiler_temperature": 20.0,
"water_temperature": 29.0
"intended_boiler_temperature": 23.9,
"water_temperature": 30.0
},
"switches": {
"dhw_cm_switch": false
Expand Down Expand Up @@ -77,7 +77,7 @@
"model": "Plug",
"name": "Plug Werkplek",
"sensors": {
"electricity_consumed": 87.6,
"electricity_consumed": 91.3,
"electricity_consumed_interval": 23.0,
"electricity_produced": 0.0,
"electricity_produced_interval": 0.0
Expand Down
12 changes: 0 additions & 12 deletions fixtures/adam_plus_anna_new/device_list.json

This file was deleted.

1 change: 0 additions & 1 deletion fixtures/adam_plus_anna_new/notifications.json

This file was deleted.

6 changes: 3 additions & 3 deletions fixtures/adam_zone_per_device/all_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"model": "Plug",
"name": "Playstation Smart Plug",
"sensors": {
"electricity_consumed": 81.2,
"electricity_consumed": 80.1,
"electricity_consumed_interval": 12.7,
"electricity_produced": 0.0,
"electricity_produced_interval": 0.0
Expand Down Expand Up @@ -165,7 +165,7 @@
},
"90986d591dcd426cae3ec3e8111ff730": {
"binary_sensors": {
"heating_state": false
"heating_state": true
},
"dev_class": "heater_central",
"location": "1f9dcf83fd4e4b66b72ff787957bfe5d",
Expand Down Expand Up @@ -233,7 +233,7 @@
"setpoint": 21.5,
"temperature": 26.2,
"temperature_difference": 3.7,
"valve_position": 0.0
"valve_position": 100
},
"temperature_offset": {
"lower_bound": -2.0,
Expand Down
20 changes: 0 additions & 20 deletions fixtures/adam_zone_per_device/device_list.json

This file was deleted.

5 changes: 0 additions & 5 deletions fixtures/adam_zone_per_device/notifications.json

This file was deleted.

5 changes: 0 additions & 5 deletions fixtures/anna_elga_2/device_list.json

This file was deleted.

1 change: 0 additions & 1 deletion fixtures/anna_elga_2/notifications.json

This file was deleted.

5 changes: 0 additions & 5 deletions fixtures/anna_elga_2_cooling/device_list.json

This file was deleted.

1 change: 0 additions & 1 deletion fixtures/anna_elga_2_cooling/notifications.json

This file was deleted.

2 changes: 1 addition & 1 deletion fixtures/anna_elga_2_schedule_off/all_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"domestic_hot_water_setpoint": 60.0,
"intended_boiler_temperature": 0.0,
"modulation_level": 0.0,
"outdoor_air_temperature": 14.0,
"outdoor_air_temperature": 13.0,
"return_temperature": 23.4,
"water_pressure": 0.5,
"water_temperature": 22.8
Expand Down
5 changes: 0 additions & 5 deletions fixtures/anna_elga_2_schedule_off/device_list.json

This file was deleted.

1 change: 0 additions & 1 deletion fixtures/anna_elga_2_schedule_off/notifications.json

This file was deleted.

5 changes: 0 additions & 5 deletions fixtures/anna_elga_no_cooling/device_list.json

This file was deleted.

1 change: 0 additions & 1 deletion fixtures/anna_elga_no_cooling/notifications.json

This file was deleted.

2 changes: 1 addition & 1 deletion fixtures/anna_heatpump_cooling/all_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"sensors": {
"cooling_activation_outdoor_temperature": 21.0,
"cooling_deactivation_threshold": 6.0,
"illuminance": 25.5,
"illuminance": 24.5,
"setpoint_high": 22.0,
"setpoint_low": 4.0,
"temperature": 22.3
Expand Down
5 changes: 0 additions & 5 deletions fixtures/anna_heatpump_cooling/device_list.json

This file was deleted.

1 change: 0 additions & 1 deletion fixtures/anna_heatpump_cooling/notifications.json

This file was deleted.

2 changes: 1 addition & 1 deletion fixtures/anna_heatpump_cooling_fake_firmware/all_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"sensors": {
"cooling_activation_outdoor_temperature": 21.0,
"cooling_deactivation_threshold": 6.0,
"illuminance": 25.5,
"illuminance": 24.5,
"setpoint_high": 22.0,
"setpoint_low": 4.0,
"temperature": 22.3
Expand Down
5 changes: 0 additions & 5 deletions fixtures/anna_heatpump_cooling_fake_firmware/device_list.json

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions fixtures/anna_heatpump_heating/device_list.json

This file was deleted.

1 change: 0 additions & 1 deletion fixtures/anna_heatpump_heating/notifications.json

This file was deleted.

5 changes: 3 additions & 2 deletions fixtures/anna_loria_cooling_active/all_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"bfb5ee0a88e14e5f97bfa725a760cc49": {
"available": true,
"binary_sensors": {
"cooling_enabled": true,
"cooling_state": true,
"dhw_state": false,
"flame_state": false,
Expand Down Expand Up @@ -79,7 +80,7 @@
"dhw_temperature": 52.9,
"intended_boiler_temperature": 0.0,
"modulation_level": 100,
"outdoor_air_temperature": 17.3,
"outdoor_air_temperature": 17.2,
"return_temperature": 26.3,
"water_temperature": 25.3
},
Expand All @@ -94,7 +95,7 @@
"cooling_present": true,
"gateway_id": "9ff0569b4984459fb243af64c0901894",
"heater_id": "bfb5ee0a88e14e5f97bfa725a760cc49",
"item_count": 63,
"item_count": 64,
"notifications": {},
"smile_name": "Smile Anna"
}
Expand Down
5 changes: 0 additions & 5 deletions fixtures/anna_loria_cooling_active/device_list.json

This file was deleted.

1 change: 0 additions & 1 deletion fixtures/anna_loria_cooling_active/notifications.json

This file was deleted.

Loading

0 comments on commit 4802db8

Please sign in to comment.