diff --git a/homeassistant/components/automation/numeric_state.py b/homeassistant/components/automation/numeric_state.py index a4cbce8182a..f2baf760748 100644 --- a/homeassistant/components/automation/numeric_state.py +++ b/homeassistant/components/automation/numeric_state.py @@ -99,7 +99,8 @@ def _in_range(range_start, range_end, value): try: value = float(value) except ValueError: - _LOGGER.warning("Missing value in numeric check") + _LOGGER.warning("Value returned from template is not a number: %s", + value) return False if range_start is not None and range_end is not None: