Get the latest data and update the states.
Definition at line 222 of file sensor.py.
◆ __init__()
| None homeassistant.components.snmp.sensor.SnmpData.__init__ |
( |
|
self, |
|
|
|
request_args, |
|
|
|
baseoid, |
|
|
|
accept_errors, |
|
|
|
default_value |
|
) |
| |
Initialize the data object.
Definition at line 225 of file sensor.py.
◆ _decode_value()
| def homeassistant.components.snmp.sensor.SnmpData._decode_value |
( |
|
self, |
|
|
|
value |
|
) |
| |
|
private |
Decode the different results we could get into strings.
Definition at line 253 of file sensor.py.
◆ async_update()
| def homeassistant.components.snmp.sensor.SnmpData.async_update |
( |
|
self | ) |
|
Get the latest data from the remote SNMP capable host.
Definition at line 233 of file sensor.py.
◆ _accept_errors
| homeassistant.components.snmp.sensor.SnmpData._accept_errors |
|
private |
◆ _baseoid
| homeassistant.components.snmp.sensor.SnmpData._baseoid |
|
private |
◆ _default_value
| homeassistant.components.snmp.sensor.SnmpData._default_value |
|
private |
◆ _request_args
| homeassistant.components.snmp.sensor.SnmpData._request_args |
|
private |
◆ value
| homeassistant.components.snmp.sensor.SnmpData.value |
The documentation for this class was generated from the following file: