-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Add charging and preconditioning actions to Teslemetry #144184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
"name": "Vehicle" | ||
}, | ||
"days_of_week": { | ||
"description": "A comma separated list of days this schedule should be enabled. Example: \"Thursday,Saturday\". Also supports \"All\" and \"Weekdays\".", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"A comma-separated …"
Whenever two or more words are combined to form a unit with a single meaning that then modifies a following noun, they become a compound adjective and need to be joined together using a hyphen. (Source)
"name": "Location" | ||
}, | ||
"start_enabled": { | ||
"description": "If the vehicle should begin charging at the given start_time.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the UI the key names are not visible and are translated. So we need the field labels here:
"If the vehicle should begin charging at the given 'Start time'."
Similar for all the field references below.
}, | ||
"start_enabled": { | ||
"description": "If the vehicle should begin charging at the given start_time.", | ||
"name": "Start enabled" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But … Instead of separate switches to enable start_time and end_time: Could you instead make both fields optional so they simply come into effect when the user enables them using the check boxes next to them?
Proposed change
Add charging and preconditioning actions to Teslemetry
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
.To help with the load of incoming pull requests: