Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Phue
Command
CreateSensor
stateAttribute
Phue\Command\CreateSensor::stateAttribute PHP Method
CreateSensor Class Documentation
Show file
Open project: sqmk/phue
stateAttribute()
public
method
State attribute
public
stateAttribute
(
string
$key
,
mixed
$value
) :
self
$key
string
Key
$value
mixed
Value
return
self
This object
public function stateAttribute($key, $value) { $this->state[$key] = $value; return $this; }
CreateSensor
__construct
configAttribute
manufacturerName
modelId
name
send
softwareVersion
stateAttribute
type
uniqueId