diff --git a/custom_components/daily/__pycache__/__init__.cpython-312.pyc b/custom_components/daily/__pycache__/__init__.cpython-312.pyc index 3ba6fe1..f97a881 100644 Binary files a/custom_components/daily/__pycache__/__init__.cpython-312.pyc and b/custom_components/daily/__pycache__/__init__.cpython-312.pyc differ diff --git a/custom_components/daily/__pycache__/const.cpython-312.pyc b/custom_components/daily/__pycache__/const.cpython-312.pyc index 0d922b8..6e38409 100644 Binary files a/custom_components/daily/__pycache__/const.cpython-312.pyc and b/custom_components/daily/__pycache__/const.cpython-312.pyc differ diff --git a/custom_components/daily/__pycache__/sensor.cpython-312.pyc b/custom_components/daily/__pycache__/sensor.cpython-312.pyc index f65cb1d..f93a454 100644 Binary files a/custom_components/daily/__pycache__/sensor.cpython-312.pyc and b/custom_components/daily/__pycache__/sensor.cpython-312.pyc differ diff --git a/custom_components/daily/const.py b/custom_components/daily/const.py index 89ce6fd..f7663cc 100644 --- a/custom_components/daily/const.py +++ b/custom_components/daily/const.py @@ -3,7 +3,7 @@ DOMAIN = "daily" NAME = "Daily Sensor" DOMAIN_DATA = f"{DOMAIN}_data" -VERSION = "2024.6.0" +VERSION = "2024.6.1" COORDINATOR = "coordinator" ISSUE_URL = "https://github.com/jeroenterheerdt/HADailySensor/issues" diff --git a/custom_components/daily/helpers.py b/custom_components/daily/helpers.py index d5a411c..7433348 100644 --- a/custom_components/daily/helpers.py +++ b/custom_components/daily/helpers.py @@ -28,8 +28,8 @@ def convert_to_float(float_value): return float(float_value) except ValueError: _LOGGER.error( - "unable to convert {} to float. Please check the source sensor ({}) is available.".format( - float_value, self.coordinator.input_sensor + "unable to convert {} to float. Please check the source sensor is available.".format( + float_value ) ) raise ValueError diff --git a/custom_components/daily/manifest.json b/custom_components/daily/manifest.json index fa3859c..9cc6467 100644 --- a/custom_components/daily/manifest.json +++ b/custom_components/daily/manifest.json @@ -10,6 +10,6 @@ "issue_tracker": "https://github.com/jeroenterheerdt/HADailySensor/issues", "requirements": [], "ssdp": [], - "version": "2024.6.0", + "version": "2024.6.1", "zeroconf": [] }