ATXResource¶
ATXResource
¶
ATX power management for the host machine.
Source code in src/aiopikvm/resources/atx.py
get_state()
async
¶
Get the current ATX state.
Returns:
| Type | Description |
|---|---|
ATXState
|
Current ATX subsystem state including LED indicators. |
click_power(*, wait=True)
async
¶
Click the power button.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
wait
|
bool
|
Wait for the operation to complete. |
True
|
click_power_long(*, wait=True)
async
¶
Long-press the power button.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
wait
|
bool
|
Wait for the operation to complete. |
True
|
Source code in src/aiopikvm/resources/atx.py
click_reset(*, wait=True)
async
¶
Click the reset button.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
wait
|
bool
|
Wait for the operation to complete. |
True
|
power_on(*, wait=True)
async
¶
Power on the host.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
wait
|
bool
|
Wait for the operation to complete. |
True
|
power_off(*, wait=True)
async
¶
Power off the host gracefully.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
wait
|
bool
|
Wait for the operation to complete. |
True
|
power_off_hard(*, wait=True)
async
¶
Force power off the host.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
wait
|
bool
|
Wait for the operation to complete. |
True
|
Source code in src/aiopikvm/resources/atx.py
reset_hard(*, wait=True)
async
¶
Force reset the host.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
wait
|
bool
|
Wait for the operation to complete. |
True
|