Skip to content

Commit

Permalink
Added strings for set_schedule service
Browse files Browse the repository at this point in the history
  • Loading branch information
gndean committed Jun 29, 2024
1 parent 0053130 commit 7772d63
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
1 change: 0 additions & 1 deletion custom_components/hypervolt_charger/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from .const import DOMAIN, CONF_USERNAME, CONF_PASSWORD, CONF_CHARGER_ID
from .hypervolt_update_coordinator import HypervoltUpdateCoordinator
from .utils import get_version_from_manifest

from .service import async_setup_services

# There should be a file for each of the declared platforms e.g. sensor.py
Expand Down
24 changes: 24 additions & 0 deletions custom_components/hypervolt_charger/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,29 @@
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
}
},
"services": {
"set_schedule": {
"name": "Set Schedule",
"description": "To be used by 🐙 Octopus Agile users with the Octopus Energy integration, specifically the Target Rates sensors which allow you to find the cheapest periods between two times",
"fields": {
"tracker_rate": {
"name": "Tracker Rate",
"description": "The binary_sensor target created by the Octopus Energy integration"
},
"backup_schedule_start": {
"name": "Backup Start",
"description": "A backup start period if no times are found in the target sensor, consider setting this to give you enough charge to get to work and back..."
},
"backup_schedule_end": {
"name": "Backup End",
"description": "Backup end period"
},
"append_backup": {
"name": "Append Backup",
"description": "If checked this will always append the backup schedule period to the schedule. For example, we could set 06:00-07:00 to allow morning pre-heat climate control to draw from the grid rather than battery"
}
}
}
}
}

0 comments on commit 7772d63

Please sign in to comment.