Skip to content

Commit

Permalink
Rename service to services.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
b-rowan committed Jun 22, 2024
1 parent 1eebee6 commit c477ca4
Show file tree
Hide file tree
Showing 3 changed files with 3 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 @@ -10,7 +10,7 @@
from .const import CONF_IP
from .const import DOMAIN
from .coordinator import MinerCoordinator
from .service import async_setup_services
from .services import async_setup_services

PLATFORMS: list[Platform] = [Platform.SENSOR, Platform.SWITCH, Platform.NUMBER]

Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions custom_components/miner/services.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
reboot:
target:
entity:
domain: miner

restart_backend:
target:
entity:
domain: miner

0 comments on commit c477ca4

Please sign in to comment.