Skip to content

Commit

Permalink
Add periods for description consistency (#1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson authored Dec 11, 2024
1 parent 2ff0cfd commit 6238d49
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@
"title": "Set Minimum Step",
"type": "number",
"placeholder": "1",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
"condition": {
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Strip Light' || model.options.devices[arrayIndices].configDeviceType === 'Color Bulb' || model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade' || model.options.devices[arrayIndices].configDeviceType === 'Humidifier') && model.options.devices[arrayIndices].deviceId);"
}
Expand All @@ -614,7 +614,7 @@
"title": "Set Minimum Open State",
"type": "number",
"placeholder": "0",
"description": "Sets the minimum percentage before needed to set to Open",
"description": "Sets the minimum percentage before needed to set to Open.",
"condition": {
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade' || model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Motion Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Humidifier' || model.options.devices[arrayIndices].configDeviceType === 'Strip Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light Pro') && model.options.devices[arrayIndices].deviceId);"
}
Expand All @@ -623,7 +623,7 @@
"title": "Set Maximum Close State",
"type": "number",
"placeholder": "100",
"description": "Sets the maximum percentage before needing to set to Closed",
"description": "Sets the maximum percentage before needing to set to Closed.",
"condition": {
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Curtain3' || model.options.devices[arrayIndices].configDeviceType === 'WoRollerShade' || model.options.devices[arrayIndices].configDeviceType === 'Roller Shade' || model.options.devices[arrayIndices].configDeviceType === 'Hub 2' || model.options.devices[arrayIndices].configDeviceType === 'Motion Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Humidifier' || model.options.devices[arrayIndices].configDeviceType === 'Strip Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light' || model.options.devices[arrayIndices].configDeviceType === 'Ceiling Light Pro') && model.options.devices[arrayIndices].deviceId);"
}
Expand Down Expand Up @@ -883,7 +883,7 @@
"title": "Set Minimum Step",
"type": "number",
"placeholder": "1",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Humidifier'].hide_device);"
}
Expand Down Expand Up @@ -3095,7 +3095,7 @@
"title": "Set Minimum Open State",
"type": "number",
"placeholder": "0",
"description": "Sets the minimum percentage before needed to set to Open",
"description": "Sets the minimum percentage before needed to set to Open.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain'].hide_device);"
}
Expand All @@ -3104,7 +3104,7 @@
"title": "Set Maximum Close State",
"type": "number",
"placeholder": "100",
"description": "Sets the maximum percentage before needing to set to Closed",
"description": "Sets the maximum percentage before needing to set to Closed.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain'].hide_device);"
}
Expand All @@ -3113,7 +3113,7 @@
"title": "Set Minimum Step",
"type": "number",
"placeholder": "1",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain'].hide_device);"
}
Expand Down Expand Up @@ -3381,7 +3381,7 @@
"title": "Set Minimum Open State",
"type": "number",
"placeholder": "0",
"description": "Sets the minimum percentage before needed to set to Open",
"description": "Sets the minimum percentage before needed to set to Open.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain3'].hide_device);"
}
Expand All @@ -3390,7 +3390,7 @@
"title": "Set Maximum Close State",
"type": "number",
"placeholder": "100",
"description": "Sets the maximum percentage before needing to set to Closed",
"description": "Sets the maximum percentage before needing to set to Closed.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain3'].hide_device);"
}
Expand All @@ -3399,7 +3399,7 @@
"title": "Set Minimum Step",
"type": "number",
"placeholder": "1",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Curtain3'].hide_device);"
}
Expand Down Expand Up @@ -3667,7 +3667,7 @@
"title": "Set Minimum Open State",
"type": "number",
"placeholder": "0",
"description": "Sets the minimum percentage before needed to set to Open",
"description": "Sets the minimum percentage before needed to set to Open.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoRollerShade'].hide_device);"
}
Expand All @@ -3676,7 +3676,7 @@
"title": "Set Maximum Close State",
"type": "number",
"placeholder": "100",
"description": "Sets the maximum percentage before needing to set to Closed",
"description": "Sets the maximum percentage before needing to set to Closed.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoRollerShade'].hide_device);"
}
Expand All @@ -3685,7 +3685,7 @@
"title": "Set Minimum Step",
"type": "number",
"placeholder": "1",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['WoRollerShade'].hide_device);"
}
Expand Down Expand Up @@ -3953,7 +3953,7 @@
"title": "Set Minimum Open State",
"type": "number",
"placeholder": "0",
"description": "Sets the minimum percentage before needed to set to Open",
"description": "Sets the minimum percentage before needed to set to Open.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Roller Shade'].hide_device);"
}
Expand All @@ -3962,7 +3962,7 @@
"title": "Set Maximum Close State",
"type": "number",
"placeholder": "100",
"description": "Sets the maximum percentage before needing to set to Closed",
"description": "Sets the maximum percentage before needing to set to Closed.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Roller Shade'].hide_device);"
}
Expand All @@ -3971,7 +3971,7 @@
"title": "Set Minimum Step",
"type": "number",
"placeholder": "1",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Roller Shade'].hide_device);"
}
Expand Down Expand Up @@ -4274,7 +4274,7 @@
"title": "Set Minimum Open State",
"type": "number",
"placeholder": "0",
"description": "Sets the minimum percentage before needed to set to Open",
"description": "Sets the minimum percentage before needed to set to Open.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Blind Tilt'].hide_device);"
}
Expand All @@ -4283,7 +4283,7 @@
"title": "Set Maximum Close State",
"type": "number",
"placeholder": "100",
"description": "Sets the maximum percentage before needing to set to Closed",
"description": "Sets the maximum percentage before needing to set to Closed.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Blind Tilt'].hide_device);"
}
Expand All @@ -4292,7 +4292,7 @@
"title": "Set Minimum Step",
"type": "number",
"placeholder": "1",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Blind Tilt'].hide_device);"
}
Expand Down Expand Up @@ -5458,7 +5458,7 @@
"title": "Set Minimum Step",
"type": "number",
"placeholder": "1",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Color Bulb'].hide_device);"
}
Expand Down Expand Up @@ -6916,7 +6916,7 @@
"title": "Set Minimum Step",
"type": "number",
"placeholder": "1",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Ceiling Light'].hide_device);"
}
Expand Down Expand Up @@ -7114,7 +7114,7 @@
"title": "Set Minimum Step",
"type": "number",
"placeholder": "1",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Ceiling Light Pro'].hide_device);"
}
Expand Down Expand Up @@ -7312,7 +7312,7 @@
"title": "Set Minimum Step",
"type": "number",
"placeholder": "1",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Strip Light'].hide_device);"
}
Expand Down Expand Up @@ -7510,7 +7510,7 @@
"title": "Set Minimum Step",
"type": "number",
"placeholder": "1",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100",
"description": "Sets the minimum steps device will take. So if set to 20, it would allow you to set the curtain state to 0, 20, 40, 60, 80, and 100.",
"condition": {
"functionBody": "return (model.options && model.options.deviceConfig && !model.options.deviceConfig['Battery Circulator Fan'].hide_device);"
}
Expand Down

0 comments on commit 6238d49

Please sign in to comment.