Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.digital_ocean.DigitalOcean Class Reference

Public Member Functions

def __init__ (self, access_token)
 
def get_droplet_id (self, droplet_name)
 
def update (self)
 

Public Attributes

 data
 
 manager
 

Private Attributes

 _access_token
 

Detailed Description

Handle all communication with the Digital Ocean API.

Definition at line 64 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.digital_ocean.DigitalOcean.__init__ (   self,
  access_token 
)
Initialize the Digital Ocean connection.

Definition at line 67 of file __init__.py.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ _access_token

homeassistant.components.digital_ocean.DigitalOcean._access_token
private

Definition at line 70 of file __init__.py.

◆ data

homeassistant.components.digital_ocean.DigitalOcean.data

Definition at line 71 of file __init__.py.

◆ manager

homeassistant.components.digital_ocean.DigitalOcean.manager

Definition at line 72 of file __init__.py.


The documentation for this class was generated from the following file: