Skip to content

Commit

Permalink
Line up json-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
bouwew committed Dec 31, 2024
1 parent fc8f0a9 commit e743f5a
Show file tree
Hide file tree
Showing 34 changed files with 71 additions and 69 deletions.
2 changes: 1 addition & 1 deletion tests/data/adam/adam_jip.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"06aecb3d00354375924f50c47af36bd2": {
"active_preset": "no_frost",
"climate_mode": "heat",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/adam/adam_onoff_cooling_fake_firmware.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"0ca13e8176204ca7bf6f09de59f81c83": {
"binary_sensors": {
"cooling_enabled": true,
Expand Down
2 changes: 1 addition & 1 deletion tests/data/adam/adam_plus_anna_new.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"device_zones": {
"devices": {
"056ee145a816487eaa69243c3280f8bf": {
"available": true,
"binary_sensors": {
Expand Down
2 changes: 1 addition & 1 deletion tests/data/adam/adam_plus_anna_new_UPDATED_DATA.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"67d73d0bd469422db25a618a5fb8eeb0": {
"switches": {
"lock": true
Expand Down
2 changes: 1 addition & 1 deletion tests/data/adam/adam_plus_anna_new_regulation_off.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"device_zones": {
"devices": {
"056ee145a816487eaa69243c3280f8bf": {
"available": true,
"binary_sensors": {
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_elga_2_cooling.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"573c152e7d4f4720878222bd75638f5b": {
"available": true,
"binary_sensors": {
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_elga_2_cooling_UPDATED_DATA.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"573c152e7d4f4720878222bd75638f5b": {
"available": true,
"binary_sensors": {
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_elga_2_schedule_off.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"573c152e7d4f4720878222bd75638f5b": {
"available": true,
"binary_sensors": {
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_elga_no_cooling.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"015ae9ea3f964e668e490fa39da3870b": {
"binary_sensors": {
"plugwise_notification": false
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_heatpump_cooling.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"015ae9ea3f964e668e490fa39da3870b": {
"binary_sensors": {
"plugwise_notification": false
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_heatpump_cooling_fake_firmware.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"015ae9ea3f964e668e490fa39da3870b": {
"binary_sensors": {
"plugwise_notification": false
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_heatpump_heating.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"015ae9ea3f964e668e490fa39da3870b": {
"binary_sensors": {
"plugwise_notification": false
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_heatpump_heating_UPDATED_DATA.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"1cbf783bb11e4a7c8a6843dee3a86927": {
"dev_class": "heater_central",
"location": "a57efe5f145f498c9be62a9b63626fbf",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_loria_cooling_active.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"582dfbdace4d4aeb832923ce7d1ddda0": {
"active_preset": "home",
"available_schedules": ["Winter", "Test ", "off"],
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_loria_driessens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"5c118b1842e943c0a5b6ef88a60bb17a": {
"binary_sensors": {
"plugwise_notification": false
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_loria_heating_idle.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"582dfbdace4d4aeb832923ce7d1ddda0": {
"active_preset": "home",
"available_schedules": ["Winter", "Test ", "off"],
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_v4.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"device_zones": {
"devices": {
"01b85360fdd243d0aaad4d6ac2a5ba7e": {
"active_preset": "home",
"available_schedules": ["Standaard", "Thuiswerken", "off"],
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_v4_UPDATED_DATA.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"cd0e6156b1f04d5f952349ffbe397481": {
"maximum_boiler_temperature": {
"setpoint": 69.0,
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_v4_dhw.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"01b85360fdd243d0aaad4d6ac2a5ba7e": {
"active_preset": "home",
"available_schedules": ["Standaard", "Thuiswerken", "off"],
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_v4_no_tag.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"01b85360fdd243d0aaad4d6ac2a5ba7e": {
"active_preset": "home",
"available_schedules": ["Standaard", "Thuiswerken", "off"],
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/anna_without_boiler_fw441.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"7ffbb3ab4b6c4ab2915d7510f7bf8fe9": {
"active_preset": "home",
"available_schedules": ["Test", "Normaal", "off"],
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/legacy_anna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"device_zones": {
"devices": {
"0000aaaa0000aaaa0000aaaa0000aa00": {
"dev_class": "gateway",
"firmware": "1.8.22",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/anna/legacy_anna_2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"9e7377867dc24e51b8098a5ba02bd89d": {
"active_preset": null,
"available_schedules": ["Thermostat schedule", "off"],
Expand Down
74 changes: 38 additions & 36 deletions tests/data/p1/p1v4.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,42 @@
{
"a455b61e52394b2db5081ce025a430f3": {
"dev_class": "gateway",
"firmware": "4.1.1",
"hardware": "AME Smile 2.0 board",
"location": "a455b61e52394b2db5081ce025a430f3",
"mac_address": "012345670001",
"model": "Gateway",
"model_id": "smile",
"name": "Smile P1",
"vendor": "Plugwise",
"binary_sensors": {
"plugwise_notification": true
}
},
"ba4de7613517478da82dd9b6abea36af": {
"dev_class": "smartmeter",
"location": "a455b61e52394b2db5081ce025a430f3",
"model": "KFM5KAIFA-METER",
"name": "P1",
"vendor": "SHENZHEN KAIFA TECHNOLOGY CHENGDU CO.",
"available": false,
"sensors": {
"net_electricity_point": 571.0,
"electricity_consumed_peak_point": 571.0,
"electricity_consumed_off_peak_point": 0.0,
"net_electricity_cumulative": 20983.453,
"electricity_consumed_peak_cumulative": 9067.554,
"electricity_consumed_off_peak_cumulative": 11915.899,
"electricity_consumed_peak_interval": 335.0,
"electricity_consumed_off_peak_interval": 0.0,
"electricity_produced_peak_point": 0.0,
"electricity_produced_off_peak_point": 0.0,
"electricity_produced_peak_cumulative": 0.0,
"electricity_produced_off_peak_cumulative": 0.0,
"electricity_produced_peak_interval": 0.0,
"electricity_produced_off_peak_interval": 0.0
"devices": {
"a455b61e52394b2db5081ce025a430f3": {
"dev_class": "gateway",
"firmware": "4.1.1",
"hardware": "AME Smile 2.0 board",
"location": "a455b61e52394b2db5081ce025a430f3",
"mac_address": "012345670001",
"model": "Gateway",
"model_id": "smile",
"name": "Smile P1",
"vendor": "Plugwise",
"binary_sensors": {
"plugwise_notification": true
}
},
"ba4de7613517478da82dd9b6abea36af": {
"dev_class": "smartmeter",
"location": "a455b61e52394b2db5081ce025a430f3",
"model": "KFM5KAIFA-METER",
"name": "P1",
"vendor": "SHENZHEN KAIFA TECHNOLOGY CHENGDU CO.",
"available": false,
"sensors": {
"net_electricity_point": 571.0,
"electricity_consumed_peak_point": 571.0,
"electricity_consumed_off_peak_point": 0.0,
"net_electricity_cumulative": 20983.453,
"electricity_consumed_peak_cumulative": 9067.554,
"electricity_consumed_off_peak_cumulative": 11915.899,
"electricity_consumed_peak_interval": 335.0,
"electricity_consumed_off_peak_interval": 0.0,
"electricity_produced_peak_point": 0.0,
"electricity_produced_off_peak_point": 0.0,
"electricity_produced_peak_cumulative": 0.0,
"electricity_produced_off_peak_cumulative": 0.0,
"electricity_produced_peak_interval": 0.0,
"electricity_produced_off_peak_interval": 0.0
}
}
}
}
2 changes: 1 addition & 1 deletion tests/data/p1/p1v4_442_single.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"a455b61e52394b2db5081ce025a430f3": {
"binary_sensors": {
"plugwise_notification": false
Expand Down
2 changes: 1 addition & 1 deletion tests/data/p1/p1v4_442_single_UPDATED_DATA.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"ba4de7613517478da82dd9b6abea36af": {
"sensors": {
"net_electricity_point": -2248.0,
Expand Down
2 changes: 1 addition & 1 deletion tests/data/p1/p1v4_442_triple.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"03e65b16e4b247a29ae0d75a78cb492e": {
"binary_sensors": {
"plugwise_notification": true
Expand Down
2 changes: 1 addition & 1 deletion tests/data/p1/smile_p1_v2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"device_zones": {
"devices": {
"938696c4bcdb4b8a9a595cb38ed43913": {
"dev_class": "smartmeter",
"location": "938696c4bcdb4b8a9a595cb38ed43913",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/p1/smile_p1_v2_2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"199aa40f126840f392983d171374ab0b": {
"dev_class": "smartmeter",
"location": "199aa40f126840f392983d171374ab0b",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/p1/smile_p1_v2_2_UPDATED_DATA.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"199aa40f126840f392983d171374ab0b": {
"sensors": {
"net_electricity_point": -2248.0,
Expand Down
2 changes: 1 addition & 1 deletion tests/data/stretch/stretch_v23.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"0000aaaa0000aaaa0000aaaa0000aa00": {
"dev_class": "gateway",
"firmware": "2.3.12",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/stretch/stretch_v27_no_domain.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"entities": {
"devices": {
"0000aaaa0000aaaa0000aaaa0000aa00": {
"dev_class": "gateway",
"firmware": "2.7.18",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/stretch/stretch_v31.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"device_zones": {
"devices": {
"0000aaaa0000aaaa0000aaaa0000aa00": {
"dev_class": "gateway",
"firmware": "3.1.11",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/stretch/stretch_v31_UPDATED_DATA.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"device_zones": {
"devices": {
"aac7b735042c4832ac9ff33aae4f453b": {
"sensors": {
"electricity_consumed": 1000.0,
Expand Down

0 comments on commit e743f5a

Please sign in to comment.