-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db93bc3
commit 3b6566b
Showing
14 changed files
with
267 additions
and
567 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Module hubitatcontrol.environment | ||
Module hubitatcontrol.environment | ||
================================= | ||
|
||
## Classes | ||
Classes | ||
------- | ||
|
||
`Thermostat(hub: hubitatcontrol.hub.Hub, device_from_hub: dict)` | ||
: | ||
: | ||
|
||
``` | ||
### Ancestors (in MRO) | ||
### Ancestors (in MRO) | ||
|
||
* hubitatcontrol.sensors.TemperatureSensor | ||
* hubitatcontrol.hub.Device | ||
``` | ||
* hubitatcontrol.sensors.TemperatureSensor | ||
* hubitatcontrol.hub.Device |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,113 +1,101 @@ | ||
# Module hubitatcontrol.generic | ||
Module hubitatcontrol.generic | ||
============================= | ||
|
||
## Classes | ||
Classes | ||
------- | ||
|
||
`Button(hub: hubitatcontrol.hub.Hub, device_from_hub: dict)` | ||
: | ||
: | ||
|
||
``` | ||
### Ancestors (in MRO) | ||
### Ancestors (in MRO) | ||
|
||
* hubitatcontrol.hub.Device | ||
* hubitatcontrol.hub.Device | ||
|
||
### Descendants | ||
### Descendants | ||
|
||
* hubitatcontrol.generic.SonoffZigbeeButtonController | ||
``` | ||
* hubitatcontrol.generic.SonoffZigbeeButtonController | ||
|
||
`EcoBee(hub: hubitatcontrol.hub.Hub, device_from_hub: dict)` | ||
: | ||
: | ||
|
||
``` | ||
### Ancestors (in MRO) | ||
### Ancestors (in MRO) | ||
|
||
* hubitatcontrol.generic.Thermostat | ||
* hubitatcontrol.hub.Device | ||
``` | ||
* hubitatcontrol.generic.Thermostat | ||
* hubitatcontrol.hub.Device | ||
|
||
`GenericZWaveLock(hub: hubitatcontrol.hub.Hub, device_from_hub: dict)` | ||
: | ||
: | ||
|
||
``` | ||
### Ancestors (in MRO) | ||
### Ancestors (in MRO) | ||
|
||
* hubitatcontrol.hub.Device | ||
* hubitatcontrol.hub.Device | ||
|
||
### Methods | ||
### Methods | ||
|
||
`lock(self)` | ||
: | ||
`lock(self)` | ||
: | ||
|
||
`unlock(self)` | ||
: | ||
``` | ||
`unlock(self)` | ||
: | ||
|
||
`SonoffZigbeeButtonController(hub: hubitatcontrol.hub.Hub, device_from_hub: dict)` | ||
: | ||
: | ||
|
||
``` | ||
### Ancestors (in MRO) | ||
### Ancestors (in MRO) | ||
|
||
* hubitatcontrol.generic.Button | ||
* hubitatcontrol.hub.Device | ||
``` | ||
* hubitatcontrol.generic.Button | ||
* hubitatcontrol.hub.Device | ||
|
||
`Switch(hub: hubitatcontrol.hub.Hub, device_from_hub: dict)` | ||
: | ||
: | ||
|
||
``` | ||
### Ancestors (in MRO) | ||
### Ancestors (in MRO) | ||
|
||
* hubitatcontrol.hub.Device | ||
* hubitatcontrol.hub.Device | ||
|
||
### Descendants | ||
### Descendants | ||
|
||
* hubitatcontrol.generic.ZigbeeOutlet | ||
* hubitatcontrol.lights.Dimmer | ||
* hubitatcontrol.generic.ZigbeeOutlet | ||
* hubitatcontrol.lights.Dimmer | ||
|
||
### Instance variables | ||
### Instance variables | ||
|
||
`switch: str` | ||
: Returns either (on or off) | ||
`switch: str` | ||
: Returns either (on or off) | ||
|
||
### Methods | ||
### Methods | ||
|
||
`turn_off(self)` | ||
: | ||
`turn_off(self)` | ||
: | ||
|
||
`turn_on(self)` | ||
: | ||
``` | ||
`turn_on(self)` | ||
: | ||
|
||
`Thermostat(hub: hubitatcontrol.hub.Hub, device_from_hub: dict)` | ||
: | ||
: | ||
|
||
``` | ||
### Ancestors (in MRO) | ||
### Ancestors (in MRO) | ||
|
||
* hubitatcontrol.hub.Device | ||
* hubitatcontrol.hub.Device | ||
|
||
### Descendants | ||
### Descendants | ||
|
||
* hubitatcontrol.generic.EcoBee | ||
* hubitatcontrol.generic.EcoBee | ||
|
||
### Methods | ||
### Methods | ||
|
||
`set_temperature(self)` | ||
: | ||
``` | ||
`set_temperature(self)` | ||
: | ||
|
||
`ZigbeeOutlet(hub: hubitatcontrol.hub.Hub, device_from_hub: dict)` | ||
: | ||
: | ||
|
||
``` | ||
### Ancestors (in MRO) | ||
### Ancestors (in MRO) | ||
|
||
* hubitatcontrol.generic.Switch | ||
* hubitatcontrol.hub.Device | ||
* hubitatcontrol.generic.Switch | ||
* hubitatcontrol.hub.Device | ||
|
||
### Instance variables | ||
### Instance variables | ||
|
||
`power: int` | ||
: Returns power usage | ||
``` | ||
`power: int` | ||
: Returns power usage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,52 @@ | ||
# Module hubitatcontrol.hub | ||
Module hubitatcontrol.hub | ||
========================= | ||
|
||
## Classes | ||
Classes | ||
------- | ||
|
||
`Device(hub: hubitatcontrol.hub.Hub, device_from_hub: dict)` | ||
: | ||
: | ||
|
||
``` | ||
### Descendants | ||
### Descendants | ||
|
||
* hubitatcontrol.generic.Button | ||
* hubitatcontrol.generic.GenericZWaveLock | ||
* hubitatcontrol.generic.Switch | ||
* hubitatcontrol.generic.Thermostat | ||
* hubitatcontrol.sensors.ContactSensor | ||
* hubitatcontrol.sensors.TemperatureSensor | ||
* hubitatcontrol.generic.Button | ||
* hubitatcontrol.generic.GenericZWaveLock | ||
* hubitatcontrol.generic.Switch | ||
* hubitatcontrol.generic.Thermostat | ||
* hubitatcontrol.sensors.ContactSensor | ||
* hubitatcontrol.sensors.TemperatureSensor | ||
|
||
### Instance variables | ||
### Instance variables | ||
|
||
`attributes: requests.models.Response` | ||
: | ||
`attributes: requests.models.Response` | ||
: | ||
|
||
`capabilities` | ||
: | ||
`capabilities` | ||
: | ||
|
||
`commands` | ||
: | ||
`commands` | ||
: | ||
|
||
`history: requests.models.Response` | ||
: | ||
`history: requests.models.Response` | ||
: | ||
|
||
### Methods | ||
### Methods | ||
|
||
`send_device_command(self, command: str, secondary_command: str = None) ‑> requests.models.Response` | ||
: | ||
``` | ||
`send_device_command(self, command: str, secondary_command: str = None) ‑> requests.models.Response` | ||
: | ||
|
||
`Hub(host, token, app_id, cloud_token=None)` | ||
: | ||
: | ||
|
||
``` | ||
### Instance variables | ||
### Instance variables | ||
|
||
`devices: list` | ||
: | ||
`devices: list` | ||
: | ||
|
||
### Methods | ||
### Methods | ||
|
||
`get_device(self, name: str)` | ||
: | ||
`get_device(self, name: str)` | ||
: | ||
|
||
`get_device_id(self, dev_id: int)` | ||
: | ||
``` | ||
`get_device_id(self, dev_id: int)` | ||
: |
Oops, something went wrong.