Handle all communication with the Digital Ocean API.
Definition at line 64 of file __init__.py.
◆ __init__()
| def homeassistant.components.digital_ocean.DigitalOcean.__init__ |
( |
|
self, |
|
|
|
access_token |
|
) |
| |
Initialize the Digital Ocean connection.
Definition at line 67 of file __init__.py.
◆ get_droplet_id()
| def homeassistant.components.digital_ocean.DigitalOcean.get_droplet_id |
( |
|
self, |
|
|
|
droplet_name |
|
) |
| |
Get the status of a Digital Ocean droplet.
Definition at line 74 of file __init__.py.
◆ update()
| def homeassistant.components.digital_ocean.DigitalOcean.update |
( |
|
self | ) |
|
Use the data from Digital Ocean API.
Definition at line 86 of file __init__.py.
◆ _access_token
| homeassistant.components.digital_ocean.DigitalOcean._access_token |
|
private |
◆ data
| homeassistant.components.digital_ocean.DigitalOcean.data |
◆ manager
| homeassistant.components.digital_ocean.DigitalOcean.manager |
The documentation for this class was generated from the following file:
- core/homeassistant/components/digital_ocean/__init__.py