mirror of
https://github.com/adrianjagielak/home-assistant-futurehome.git
synced 2025-12-20 03:33:56 +00:00
Add support for 'chargepoint' service
This commit is contained in:
@@ -41,7 +41,7 @@ export interface BinarySensorComponent {
|
||||
/**
|
||||
* Sets the [class of the device](https://www.home-assistant.io/integrations/binary_sensor/#device-class),
|
||||
* changing the device state and icon that is displayed on the frontend.
|
||||
* The `device_class` can be `null`.
|
||||
* The `device_class` defaults to `null`.
|
||||
*/
|
||||
device_class?: string | null;
|
||||
|
||||
@@ -98,7 +98,10 @@ export interface BinarySensorComponent {
|
||||
|
||||
/**
|
||||
* The name of the binary sensor.
|
||||
* Can be set to `null` if only the device name is relevant.
|
||||
*
|
||||
* It is recommended to set the name when entity identifiers (such as `device_class` or `state_class`)
|
||||
* do not accurately represent the purpose of the entity, to avoid showing the default 'MQTT' name.
|
||||
*
|
||||
* Default: "MQTT binary sensor"
|
||||
*/
|
||||
name?: string | null;
|
||||
@@ -116,6 +119,12 @@ export interface BinarySensorComponent {
|
||||
|
||||
/**
|
||||
* [Icon](https://www.home-assistant.io/docs/configuration/customizing-devices/#icon) for the entity.
|
||||
*
|
||||
* The icon must be a Material Design Icons (MDI) string identifier, for example: `mdi:thermometer`, `mdi:battery`, or `mdi:water`.
|
||||
*
|
||||
* It is recommended to set the icon when the default icon or other entity identifiers (such as `device_class` or `state_class`)
|
||||
* do not accurately represent the purpose of the entity. In most cases, relying on the automatic icon selection ensures better consistency
|
||||
* and compatibility with future updates.
|
||||
*/
|
||||
icon?: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user