Skip to content

Commit 8b2e223

Browse files
Revert schema change for now
1 parent b7172e1 commit 8b2e223

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

custom_components/battery_notes/data/library.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"$schema": "schema.json",
32
"version": 1,
43
"devices": [
54
{

custom_components/battery_notes/data/schema.json renamed to schema.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,16 @@
2121
],
2222
"properties": {
2323
"manufacturer": {
24-
"type": "string",
25-
"description": "The manufacturer of the device as it appears in Home Assistant."
24+
"type": "string"
2625
},
2726
"model": {
28-
"type": "string",
29-
"description": "The model of the device as it appears in Home Assistant."
27+
"type": "string"
3028
},
3129
"battery_type": {
32-
"type": "string",
33-
"description": "The type of battery for the device. Should be the most common naming for general batteries, and the IEC naming for battery cells according to Wikipedia."
30+
"type": "string"
3431
},
3532
"battery_quantity": {
36-
"type": "integer",
37-
"exclusiveMinimum": 1,
38-
"description": "The number of batteries required by the device. If a device only has one battery this property should be omitted."
33+
"type": "integer"
3934
}
4035
}
4136
}

0 commit comments

Comments
 (0)