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 fabed2f commit 83c4703
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 4 deletions.
2 changes: 1 addition & 1 deletion custom_components/blinds_controller/const.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# const.py

DOMAIN = "blinds_time_control"
DOMAIN = "blinds_controller"
2 changes: 1 addition & 1 deletion custom_components/blinds_controller/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"domain": "blinds_time_control",
"domain": "blinds_controller",
"name": "Blinds control",
"codeowners": ["@MatthewOnTour"],
"dependencies": [],
Expand Down
28 changes: 27 additions & 1 deletion custom_components/blinds_controller/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,31 @@
}
}
}
},
"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"
}
},
"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"
}
}
}
}
}
28 changes: 27 additions & 1 deletion custom_components/blinds_controller/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,31 @@
}
}
}
},
"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"
}
},
"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"
}
}
}
}
}

0 comments on commit 83c4703

Please sign in to comment.