From 2f5d7beec7d536fac5112528e5ce8f2d23247d41 Mon Sep 17 00:00:00 2001 From: Daniel Raper Date: Wed, 3 Jan 2024 10:29:13 +0000 Subject: [PATCH] Changed icons and docs --- README.md | 4 +++- custom_components/ohme/binary_sensor.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 22ee495..8120f3f 100644 --- a/README.md +++ b/README.md @@ -41,6 +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 * 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 @@ -69,7 +70,7 @@ Updates are made to entity states by polling the Ohme API. This is handled by 'c The coordinators are listed with their refresh intervals below. Relevant coordinators are also refreshed when using switches and buttons. * OhmeChargeSessionsCoordinator (30s refresh) - * Binary Sensors: All + * Binary Sensors: Car connected, car charging, pending approval and charge slot active * Buttons: Approve Charge * Sensors: Power, current, voltage and next slot (start & end) * Switches: Max charge, pause charge @@ -78,6 +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 * 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 87643aa..da3f1ff 100644 --- a/custom_components/ohme/binary_sensor.py +++ b/custom_components/ohme/binary_sensor.py @@ -338,7 +338,7 @@ def __init__( @property def icon(self): """Icon of the sensor.""" - return "mdi:calendar-check" + return "mdi:web" @property def unique_id(self) -> str: