Skip to content

Commit

Permalink
Re-register services.
Browse files Browse the repository at this point in the history
  • Loading branch information
b-rowan committed Jun 22, 2024
1 parent a205170 commit d6cf601
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/miner/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:

await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

# await async_setup_services(hass)
await async_setup_services(hass)

return True

Expand Down
1 change: 1 addition & 0 deletions custom_components/miner/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ reboot:
target:
entity:
domain: miner

restart_backend:
target:
entity:
Expand Down

0 comments on commit d6cf601

Please sign in to comment.