mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Prettify json (component test fixtures) (#68892)
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
{
|
||||
"1": {
|
||||
"sensor_id": 1,
|
||||
"children": {
|
||||
"1": {
|
||||
"id": 1,
|
||||
"type": 15,
|
||||
"description": "",
|
||||
"values": {
|
||||
"13": "15",
|
||||
"43": "cm"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 17,
|
||||
"sketch_name": "Distance Sensor",
|
||||
"sketch_version": "1.0",
|
||||
"battery_level": 0,
|
||||
"protocol_version": "2.3.2",
|
||||
"heartbeat": 0
|
||||
}
|
||||
"1": {
|
||||
"sensor_id": 1,
|
||||
"children": {
|
||||
"1": {
|
||||
"id": 1,
|
||||
"type": 15,
|
||||
"description": "",
|
||||
"values": {
|
||||
"13": "15",
|
||||
"43": "cm"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 17,
|
||||
"sketch_name": "Distance Sensor",
|
||||
"sketch_version": "1.0",
|
||||
"battery_level": 0,
|
||||
"protocol_version": "2.3.2",
|
||||
"heartbeat": 0
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
{
|
||||
"1": {
|
||||
"sensor_id": 1,
|
||||
"children": {
|
||||
"1": {
|
||||
"id": 1,
|
||||
"type": 13,
|
||||
"description": "",
|
||||
"values": {
|
||||
"18": "18000"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 17,
|
||||
"sketch_name": "Energy Sensor",
|
||||
"sketch_version": "1.0",
|
||||
"battery_level": 0,
|
||||
"protocol_version": "2.3.2",
|
||||
"heartbeat": 0
|
||||
}
|
||||
"1": {
|
||||
"sensor_id": 1,
|
||||
"children": {
|
||||
"1": {
|
||||
"id": 1,
|
||||
"type": 13,
|
||||
"description": "",
|
||||
"values": {
|
||||
"18": "18000"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 17,
|
||||
"sketch_name": "Energy Sensor",
|
||||
"sketch_version": "1.0",
|
||||
"battery_level": 0,
|
||||
"protocol_version": "2.3.2",
|
||||
"heartbeat": 0
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
{
|
||||
"1": {
|
||||
"sensor_id": 1,
|
||||
"children": {
|
||||
"1": {
|
||||
"id": 1,
|
||||
"type": 38,
|
||||
"description": "",
|
||||
"values": {
|
||||
"49": "40.741894,-73.989311,12"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 17,
|
||||
"sketch_name": "GPS Sensor",
|
||||
"sketch_version": "1.0",
|
||||
"battery_level": 0,
|
||||
"protocol_version": "2.3.2",
|
||||
"heartbeat": 0
|
||||
}
|
||||
"1": {
|
||||
"sensor_id": 1,
|
||||
"children": {
|
||||
"1": {
|
||||
"id": 1,
|
||||
"type": 38,
|
||||
"description": "",
|
||||
"values": {
|
||||
"49": "40.741894,-73.989311,12"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 17,
|
||||
"sketch_name": "GPS Sensor",
|
||||
"sketch_version": "1.0",
|
||||
"battery_level": 0,
|
||||
"protocol_version": "2.3.2",
|
||||
"heartbeat": 0
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
{
|
||||
"1": {
|
||||
"sensor_id": 1,
|
||||
"children": {
|
||||
"1": {
|
||||
"id": 1,
|
||||
"type": 13,
|
||||
"description": "",
|
||||
"values": {
|
||||
"17": "1200"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 17,
|
||||
"sketch_name": "Power Sensor",
|
||||
"sketch_version": "1.0",
|
||||
"battery_level": 0,
|
||||
"protocol_version": "2.3.2",
|
||||
"heartbeat": 0
|
||||
}
|
||||
"1": {
|
||||
"sensor_id": 1,
|
||||
"children": {
|
||||
"1": {
|
||||
"id": 1,
|
||||
"type": 13,
|
||||
"description": "",
|
||||
"values": {
|
||||
"17": "1200"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 17,
|
||||
"sketch_name": "Power Sensor",
|
||||
"sketch_version": "1.0",
|
||||
"battery_level": 0,
|
||||
"protocol_version": "2.3.2",
|
||||
"heartbeat": 0
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
{
|
||||
"1": {
|
||||
"sensor_id": 1,
|
||||
"children": {
|
||||
"1": {
|
||||
"id": 1,
|
||||
"type": 33,
|
||||
"description": "",
|
||||
"values": {
|
||||
"37": "10"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 17,
|
||||
"sketch_name": "Sound Sensor",
|
||||
"sketch_version": "1.0",
|
||||
"battery_level": 0,
|
||||
"protocol_version": "2.3.2",
|
||||
"heartbeat": 0
|
||||
}
|
||||
"1": {
|
||||
"sensor_id": 1,
|
||||
"children": {
|
||||
"1": {
|
||||
"id": 1,
|
||||
"type": 33,
|
||||
"description": "",
|
||||
"values": {
|
||||
"37": "10"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 17,
|
||||
"sketch_name": "Sound Sensor",
|
||||
"sketch_version": "1.0",
|
||||
"battery_level": 0,
|
||||
"protocol_version": "2.3.2",
|
||||
"heartbeat": 0
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
{
|
||||
"1": {
|
||||
"sensor_id": 1,
|
||||
"children": {
|
||||
"1": {
|
||||
"id": 1,
|
||||
"type": 6,
|
||||
"description": "",
|
||||
"values": {
|
||||
"0": "20.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 17,
|
||||
"sketch_name": "Temperature Sensor",
|
||||
"sketch_version": "1.0",
|
||||
"battery_level": 0,
|
||||
"protocol_version": "2.3.2",
|
||||
"heartbeat": 0
|
||||
}
|
||||
"1": {
|
||||
"sensor_id": 1,
|
||||
"children": {
|
||||
"1": {
|
||||
"id": 1,
|
||||
"type": 6,
|
||||
"description": "",
|
||||
"values": {
|
||||
"0": "20.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": 17,
|
||||
"sketch_name": "Temperature Sensor",
|
||||
"sketch_version": "1.0",
|
||||
"battery_level": 0,
|
||||
"protocol_version": "2.3.2",
|
||||
"heartbeat": 0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user