Skip to content

Commit

Permalink
update pyasic version and fix power mode selector, add poetry install…
Browse files Browse the repository at this point in the history
… option for dev
  • Loading branch information
UpstreamData committed Dec 23, 2024
1 parent ddbb711 commit 86df18a
Show file tree
Hide file tree
Showing 5 changed files with 3,724 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ __pycache__
# misc
.coverage
.vscode
.idea
coverage.xml


Expand Down
7 changes: 6 additions & 1 deletion custom_components/miner/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@
from .coordinator import MinerCoordinator
from .services import async_setup_services

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


async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/miner/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
JOULES_PER_TERA_HASH = "J/TH"


PYASIC_VERSION = "0.64.1"
PYASIC_VERSION = "0.67.2"
Loading

0 comments on commit 86df18a

Please sign in to comment.