프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$sensorId | string | Sensor Id | |
$state | array | Sensor state |
메소드 | 설명 | |
---|---|---|
__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 |
리턴 | self | This object |