Свойство | Type | Description | |
---|---|---|---|
$attributes | stdClass | Sensor attributes | |
$client | Phue client | ||
$id | integer | Id |
Méthode | Description | |
---|---|---|
__construct ( string $id, stdClass $attributes, |
Construct a Phue Sensor object | |
__toString ( ) : string | __toString | |
getConfig ( ) : stdClass | Get config | |
getId ( ) : integer | Get sensor Id | |
getManufacturerName ( ) : string | Get manufacturer name | |
getModel ( ) : AbstractSensorModel | Get model | |
getModelId ( ) : string | Get model id | |
getName ( ) : string | Get assigned name of sensor | |
getSoftwareVersion ( ) : string | null | Get software version | |
getState ( ) : stdClass | Get state | |
getType ( ) : string | Get type | |
getUniqueId ( ) : string | null | Get unique id |
public __construct ( string $id, stdClass $attributes, |
||
$id | string | Id |
$attributes | stdClass | Sensor attributes |
$client | Phue client |
public getManufacturerName ( ) : string | ||
Résultat | string | Manufacturer name |
public getModel ( ) : AbstractSensorModel | ||
Résultat | AbstractSensorModel | Sensor model |
public getSoftwareVersion ( ) : string | null | ||
Résultat | string | null | Software version |
public getUniqueId ( ) : string | null | ||
Résultat | string | null | Unique id |
protected stdClass $attributes | ||
Résultat | stdClass |