The GC100 component.
Definition at line 50 of file __init__.py.
◆ __init__()
| def homeassistant.components.gc100.GC100Device.__init__ |
( |
|
self, |
|
|
|
hass, |
|
|
|
gc_device |
|
) |
| |
◆ read_sensor()
| def homeassistant.components.gc100.GC100Device.read_sensor |
( |
|
self, |
|
|
|
port_addr, |
|
|
|
callback |
|
) |
| |
Read a value from a digital input.
Definition at line 58 of file __init__.py.
◆ subscribe()
| def homeassistant.components.gc100.GC100Device.subscribe |
( |
|
self, |
|
|
|
port_addr, |
|
|
|
callback |
|
) |
| |
Add detection for RISING and FALLING events.
Definition at line 66 of file __init__.py.
◆ write_switch()
| def homeassistant.components.gc100.GC100Device.write_switch |
( |
|
self, |
|
|
|
port_addr, |
|
|
|
state, |
|
|
|
callback |
|
) |
| |
Write a value to a relay.
Definition at line 62 of file __init__.py.
◆ gc_device
| homeassistant.components.gc100.GC100Device.gc_device |
◆ hass
| homeassistant.components.gc100.GC100Device.hass |
The documentation for this class was generated from the following file: