From c7518bfc8038fb5aae46f3bd6228692eff6cbfd9 Mon Sep 17 00:00:00 2001 From: Daniel Raper Date: Wed, 3 Jan 2024 10:32:19 +0000 Subject: [PATCH] Rename charger online sensor --- README.md | 4 ++-- custom_components/ohme/binary_sensor.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8120f3f..3779ced 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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) diff --git a/custom_components/ohme/binary_sensor.py b/custom_components/ohme/binary_sensor.py index b5b4012..cf50307 100644 --- a/custom_components/ohme/binary_sensor.py +++ b/custom_components/ohme/binary_sensor.py @@ -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__(