Skip to content

Commit

Permalink
prepare hacs
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewOnTour committed Apr 12, 2024
1 parent f46b37c commit 4db20ed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 37 deletions.
5 changes: 4 additions & 1 deletion custom_components/blinds_controller/services.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
set_known_position:
description: Set the known position of the blinds
fields:
entity_id:
description: The ID of the entity
example: 'cover.living_room_blinds'
position:
description: The position to set
example: 50

set_known_tilt_position:
description: Set the known tilt position of the blinds
fields:
entity_id:
description: The ID of the entity
example: 'cover.living_room_blinds'
position:
description: The tilt position to set
example: 30
example: 50
20 changes: 2 additions & 18 deletions custom_components/blinds_controller/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,27 +65,11 @@
"services": {
"set_known_position": {
"name": "Set Known Position",
"description": "Set the known position of the blinds",
"entity_id": {
"name": "Entity ID",
"description": "The ID of the blinds entity"
},
"position": {
"name": "Position",
"description": "The position to set for the blinds"
}
"description": "Set the known position of the blinds"
},
"set_known_tilt_position": {
"name": "Set Known Tilt Position",
"description": "Set the known tilt position of the blinds",
"entity_id": {
"name": "Entity ID",
"description": "The ID of the blinds entity"
},
"position": {
"name": "Tilt Position",
"description": "The tilt position to set for the blinds"
}
"description": "Set the known tilt position of the blinds"
}
}
}
20 changes: 2 additions & 18 deletions custom_components/blinds_controller/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,27 +65,11 @@
"services": {
"set_known_position": {
"name": "Set Known Position",
"description": "Set the known position of the blinds",
"entity_id": {
"name": "Entity ID",
"description": "The ID of the blinds entity"
},
"position": {
"name": "Position",
"description": "The position to set for the blinds"
}
"description": "Set the known position of the blinds"
},
"set_known_tilt_position": {
"name": "Set Known Tilt Position",
"description": "Set the known tilt position of the blinds",
"entity_id": {
"name": "Entity ID",
"description": "The ID of the blinds entity"
},
"position": {
"name": "Tilt Position",
"description": "The tilt position to set for the blinds"
}
"description": "Set the known tilt position of the blinds"
}
}
}

0 comments on commit 4db20ed

Please sign in to comment.