From a5a14546ad0918d7408c31349ce27ce21a0c7ff1 Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 23 Nov 2020 15:01:14 +1000 Subject: [PATCH 1/2] edited readme --- info.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/info.md b/info.md index 8a14f01..06b5b30 100644 --- a/info.md +++ b/info.md @@ -4,7 +4,7 @@ - Added device_tracker type (fordpass_tracker) - Added imperial or metric selection - Change fuel reading to % -- Renamed lock entity from "lock.lock" to "lock.fordpass_lock" +- Renamed lock entity from "lock.lock" to "lock.fordpass_doorlock" ### Version 1.04 From b6912d710b1004206df2336ed6fa62da6a58827c Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 23 Nov 2020 15:06:59 +1000 Subject: [PATCH 2/2] Bug fix --- custom_components/fordpass/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/fordpass/__init__.py b/custom_components/fordpass/__init__.py index 3b845ce..f72bde4 100644 --- a/custom_components/fordpass/__init__.py +++ b/custom_components/fordpass/__init__.py @@ -73,7 +73,7 @@ async def async_refresh_status_service(service_call): async def async_update_options(hass, config_entry): options = { - CONF_UNIT: entry.data.get( + CONF_UNIT: config_entry.data.get( CONF_UNIT, DEFAULT_UNIT ) }