|
| def | __init__ (self, hass, client, printers, sensors, conf_name, config) |
| |
| def | get_data (self, printer_id, sensor_type, temp_id) |
| |
| def | update (self, now=None) |
| |
Handle the printer API.
Definition at line 250 of file __init__.py.
◆ __init__()
| def homeassistant.components.repetier.PrinterAPI.__init__ |
( |
|
self, |
|
|
|
hass, |
|
|
|
client, |
|
|
|
printers, |
|
|
|
sensors, |
|
|
|
conf_name, |
|
|
|
config |
|
) |
| |
◆ _load_entities()
| def homeassistant.components.repetier.PrinterAPI._load_entities |
( |
|
self | ) |
|
|
private |
◆ get_data()
| def homeassistant.components.repetier.PrinterAPI.get_data |
( |
|
self, |
|
|
|
printer_id, |
|
|
|
sensor_type, |
|
|
|
temp_id |
|
) |
| |
Get data from the state cache.
Definition at line 263 of file __init__.py.
◆ update()
| def homeassistant.components.repetier.PrinterAPI.update |
( |
|
self, |
|
|
|
now = None |
|
) |
| |
Update the state cache from the printer API.
Definition at line 283 of file __init__.py.
◆ _client
| homeassistant.components.repetier.PrinterAPI._client |
|
private |
◆ _hass
| homeassistant.components.repetier.PrinterAPI._hass |
|
private |
◆ _known_entities
| homeassistant.components.repetier.PrinterAPI._known_entities |
|
private |
◆ conf_name
| homeassistant.components.repetier.PrinterAPI.conf_name |
◆ config
| homeassistant.components.repetier.PrinterAPI.config |
◆ printers
| homeassistant.components.repetier.PrinterAPI.printers |
◆ sensors
| homeassistant.components.repetier.PrinterAPI.sensors |
The documentation for this class was generated from the following file: