abstract public getEntityIds ( string $machine, string $state = null ) : string[] | ||
$machine | string | the name of the machine |
$state | string | optional: if provided, only those entities in the specific state |
Результат | string[] | an array of entity_id's |