Skip to content

Commit

Permalink
fix ordering & remove services
Browse files Browse the repository at this point in the history
  • Loading branch information
sirkojon committed Mar 22, 2024
1 parent 171ce12 commit 912465f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion custom_components/chuck_control/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"domain": "chuck_control",
"name": "Chuck Charger Control",
"config_flow": true,
"codeowners": ["@"],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/TeepCo/chuck-control",
"homekit": {},
Expand Down
10 changes: 0 additions & 10 deletions custom_components/chuck_control/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,6 @@ async def async_setup_entry(
else:
_LOGGER.error(f"Cannot add {chargebox}")

platform = entity_platform.async_get_current_platform()
platform.async_register_entity_service(
"set_max_charging_current",
{
vol.Required("entity_id"): cv.entity_id,
vol.Required("max_charging_current"): cv.positive_int,
},
"set_max_charging_current",
)


def get_friendly_name(
cls,
Expand Down

0 comments on commit 912465f

Please sign in to comment.