caspia.hapbridge.links package¶
Submodules¶
caspia.hapbridge.links.base module¶
-
class
caspia.hapbridge.links.base.BooleanLink(meadow, hap, default=None)[source]¶ Bases:
caspia.hapbridge.links.base.CharacteristicLink-
async
on_hap_update(value, **kwargs)¶
-
async
on_meadow_update(value, **kwargs)¶
-
async
reload()¶
-
async
setup()¶
-
async
-
class
caspia.hapbridge.links.base.CharacteristicLink(meadow, hap, default=None)[source]¶ Bases:
object
-
class
caspia.hapbridge.links.base.FloatLink(meadow, hap, default=None)[source]¶ Bases:
caspia.hapbridge.links.base.CharacteristicLink-
async
on_hap_update(value, **kwargs)¶
-
async
on_meadow_update(value, **kwargs)¶
-
async
reload()¶
-
async
setup()¶
-
async
-
class
caspia.hapbridge.links.base.Link(bridge, md_service)[source]¶ Bases:
object-
property
dependant_services¶
-
meadow_service_type= None¶
-
property
-
class
caspia.hapbridge.links.base.PercentageFloatLink(meadow, hap, default=None)[source]¶ Bases:
caspia.hapbridge.links.base.CharacteristicLink-
async
on_hap_update(value, **kwargs)¶
-
async
on_meadow_update(value, **kwargs)¶
-
async
reload()¶
-
async
setup()¶
-
async
caspia.hapbridge.links.blinds module¶
-
class
caspia.hapbridge.links.blinds.BlindsAccessory(identifier, include=())[source]¶ Bases:
aiohap.model.accessory.Accessory-
category= 14¶
-
covering¶ alias of
aiohap.services.WindowCovering
-
find_characteristic(iid)¶
-
handle_notify(func)¶
-
info¶ alias of
aiohap.services.AccessoryInformation
-
notify(aid, iid, value)¶
-
async
serialize(context, loop)¶
-
property
services¶
-
caspia.hapbridge.links.fan module¶
-
class
caspia.hapbridge.links.fan.FanAccessory(identifier, include=())[source]¶ Bases:
aiohap.model.accessory.Accessory-
category= 3¶
-
fan¶ alias of
aiohap.services.Fan
-
find_characteristic(iid)¶
-
handle_notify(func)¶
-
info¶ alias of
aiohap.services.AccessoryInformation
-
notify(aid, iid, value)¶
-
async
serialize(context, loop)¶
-
property
services¶
-
caspia.hapbridge.links.humidity module¶
-
class
caspia.hapbridge.links.humidity.HumiditySensorAccessory(identifier, include=())[source]¶ Bases:
aiohap.model.accessory.Accessory-
category= 10¶
-
find_characteristic(iid)¶
-
handle_notify(func)¶
-
humidity¶ alias of
aiohap.services.HumiditySensor
-
info¶ alias of
aiohap.services.AccessoryInformation
-
notify(aid, iid, value)¶
-
async
serialize(context, loop)¶
-
property
services¶
-
caspia.hapbridge.links.light module¶
-
class
caspia.hapbridge.links.light.LightAccessory(identifier, include=())[source]¶ Bases:
aiohap.model.accessory.Accessory-
category= 5¶
-
find_characteristic(iid)¶
-
handle_notify(func)¶
-
info¶ alias of
aiohap.services.AccessoryInformation
-
light¶ alias of
aiohap.services.Lightbulb
-
notify(aid, iid, value)¶
-
async
serialize(context, loop)¶
-
property
services¶
-
caspia.hapbridge.links.lock module¶
-
class
caspia.hapbridge.links.lock.LockMechanismAccessory(identifier, include=())[source]¶ Bases:
aiohap.model.accessory.Accessory-
category= 6¶
-
find_characteristic(iid)¶
-
handle_notify(func)¶
-
info¶ alias of
aiohap.services.AccessoryInformation
-
lock¶ alias of
aiohap.services.LockMechanism
-
notify(aid, iid, value)¶
-
async
serialize(context, loop)¶
-
property
services¶
-
caspia.hapbridge.links.outlet module¶
-
class
caspia.hapbridge.links.outlet.OutletAccessory(identifier, include=())[source]¶ Bases:
aiohap.model.accessory.Accessory-
category= 7¶
-
find_characteristic(iid)¶
-
handle_notify(func)¶
-
info¶ alias of
aiohap.services.AccessoryInformation
-
notify(aid, iid, value)¶
-
outlet¶ alias of
aiohap.services.Outlet
-
async
serialize(context, loop)¶
-
property
services¶
-
caspia.hapbridge.links.switch module¶
-
class
caspia.hapbridge.links.switch.SwitchAccessory(identifier, include=())[source]¶ Bases:
aiohap.model.accessory.Accessory-
category= 8¶
-
find_characteristic(iid)¶
-
handle_notify(func)¶
-
info¶ alias of
aiohap.services.AccessoryInformation
-
notify(aid, iid, value)¶
-
async
serialize(context, loop)¶
-
property
services¶
-
switch¶ alias of
aiohap.services.Switch
-
caspia.hapbridge.links.temperature module¶
-
class
caspia.hapbridge.links.temperature.TemperatureSensorAccessory(identifier, include=())[source]¶ Bases:
aiohap.model.accessory.Accessory-
category= 10¶
-
find_characteristic(iid)¶
-
handle_notify(func)¶
-
info¶ alias of
aiohap.services.AccessoryInformation
-
notify(aid, iid, value)¶
-
async
serialize(context, loop)¶
-
property
services¶
-
temp¶ alias of
aiohap.services.TemperatureSensor
-
caspia.hapbridge.links.thermostat module¶
-
class
caspia.hapbridge.links.thermostat.ThermostatAccessory(identifier, include=())[source]¶ Bases:
aiohap.model.accessory.Accessory-
category= 9¶
-
find_characteristic(iid)¶
-
handle_notify(func)¶
-
info¶ alias of
aiohap.services.AccessoryInformation
-
notify(aid, iid, value)¶
-
async
serialize(context, loop)¶
-
property
services¶
-
thermostat¶ alias of
aiohap.services.Thermostat
-