Property | Type | Description | |
---|---|---|---|
$sensorId | string | Sensor Id | |
$state | array | Sensor state |
Method | Description | |
---|---|---|
__construct ( mixed $sensor ) | Constructs a command | |
send ( |
Send command | |
stateAttribute ( string $key, mixed $value ) : self | State attribute |
public __construct ( mixed $sensor ) | ||
$sensor | mixed | Sensor Id or Sensor object |
public stateAttribute ( string $key, mixed $value ) : self | ||
$key | string | Key |
$value | mixed | Value |
return | self | This object |