Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
marq24 committed Jun 23, 2024
1 parent 757f8a5 commit 56d191d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions custom_components/goecharger_api2/const.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from dataclasses import dataclass
from typing import Final

from homeassistant.components.binary_sensor import BinarySensorEntityDescription
from homeassistant.components.binary_sensor import BinarySensorEntityDescription, BinarySensorDeviceClass
from homeassistant.components.button import ButtonEntityDescription
from homeassistant.components.number import NumberEntityDescription, NumberDeviceClass, NumberMode
from homeassistant.components.select import SelectEntityDescription
Expand Down Expand Up @@ -78,7 +78,7 @@ class ExtSwitchEntityDescription(SwitchEntityDescription):
key=Tag.CAR_CONNECTED.key,
idx=0,
entity_category=EntityCategory.DIAGNOSTIC,
device_class=None,
device_class=BinarySensorDeviceClass.PLUG,
icon="mdi:car-connected",
icon_off="mdi:car-off",
entity_registry_enabled_default=True
Expand Down Expand Up @@ -141,7 +141,7 @@ class ExtSwitchEntityDescription(SwitchEntityDescription):
ExtBinarySensorEntityDescription(
key=Tag.ADI.key,
entity_category=EntityCategory.DIAGNOSTIC,
device_class=None,
device_class=BinarySensorDeviceClass.CONNECTIVITY,
icon="mdi:ev-plug-type2",
entity_registry_enabled_default=True
),
Expand Down
2 changes: 1 addition & 1 deletion custom_components/goecharger_api2/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/marq24/ha-goecharger-api2/issues",
"requirements": [],
"version": "2024.6.2"
"version": "2024.6.3"
}

0 comments on commit 56d191d

Please sign in to comment.