mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Get all entity reg categories (#15581)
This commit is contained in:
parent
682f383c9e
commit
01ec9aaf96
@ -197,9 +197,10 @@ export const connectionMixin = <T extends Constructor<HassBaseEl>>(
|
|||||||
area_id: entity.ai,
|
area_id: entity.ai,
|
||||||
translation_key: entity.tk,
|
translation_key: entity.tk,
|
||||||
platform: entity.pl,
|
platform: entity.pl,
|
||||||
entity_category: entity.ec
|
entity_category:
|
||||||
? entityReg.entity_categories[entity.ec]
|
entity.ec !== undefined
|
||||||
: undefined,
|
? entityReg.entity_categories[entity.ec]
|
||||||
|
: undefined,
|
||||||
name: entity.en,
|
name: entity.en,
|
||||||
hidden: entity.hb,
|
hidden: entity.hb,
|
||||||
display_precision: entity.dp,
|
display_precision: entity.dp,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user