Skip to content

Commit

Permalink
Rename charger online sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-r committed Jan 3, 2024
1 parent 2c50629 commit c7518bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This integration exposes the following entities:
* Car Charging - On when a car is connected and drawing power
* Pending Approval - On when a car is connected and waiting for approval
* Charge Slot Active - On when a charge slot is in progress according to the Ohme-generated charge plan
* Charger Status - On if charger is online and connected to the internet
* Charger Online - On if charger is online and connected to the internet
* Sensors (Charge power) - **Only available during a charge session**
* Power Draw (Watts) - Power draw of connected car
* Current Draw (Amps) - Current draw of connected car
Expand Down Expand Up @@ -79,7 +79,7 @@ The coordinators are listed with their refresh intervals below. Relevant coordin
* Switches: Lock buttons, require approval and sleep when inactive
* OhmeAdvancedSettingsCoordinator (1m refresh)
* Sensors: CT reading sensor
* Binary Sensors: Charger status
* Binary Sensors: Charger online
* OhmeStatisticsCoordinator (30m refresh)
* Sensors: Accumulative energy usage
* OhmeChargeSchedulesCoordinator (10m refresh)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/ohme/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ class ChargerOnlineBinarySensor(
BinarySensorEntity):
"""Binary sensor for if charger is online."""

_attr_name = "Charger Status"
_attr_name = "Charger Online"
_attr_device_class = BinarySensorDeviceClass.CONNECTIVITY

def __init__(
Expand Down

0 comments on commit c7518bf

Please sign in to comment.