Skip to content

Common Properties

These properties are available on all platforms.

  • name (string, optional): The friendly name of the entity.
  • id (string, optional): The unique identifier for the entity. If not provided, one will be generated.
  • icon (string, optional): The icon to represent the entity in the UI.

TODO: DeviceClass https://www.home-assistant.io/integrations/sensor/#device-class TODO: EntityCategory: https://developers.home-assistant.io/docs/core/entity/#generic-properties