update
This commit is contained in:
@@ -120,3 +120,8 @@ export const button = new ButtonHA({ token: process.env.HAAS_TOKEN || '', homeas
|
|||||||
|
|
||||||
// const entityType = await hacore.getEntityTypes();
|
// const entityType = await hacore.getEntityTypes();
|
||||||
// console.log(showMore(entityType));
|
// console.log(showMore(entityType));
|
||||||
|
|
||||||
|
|
||||||
|
const yinxiang = await hacore.getEntities((item) => item.attributes?.friendly_name?.includes?.('音箱'));
|
||||||
|
|
||||||
|
console.log(showMore(yinxiang));
|
||||||
Reference in New Issue
Block a user