Hi guys i’ve been trying to setup a input_datetime helper but it is greyed out in the UI menu.
i know i need the default_config: in my configuration.yaml file which has always been there so then i added input_datetime: in my config file also but it’s still greyed out and i’m getting the following error when rebooting…
Logger: homeassistant.setup
Source: components/input_datetime/__init__.py:217
First occurred: 22:25:35 (1 occurrences)
Last logged: 22:25:35
Error during setup of component input_datetime
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 255, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/input_datetime/__init__.py", line 125, in async_setup
await yaml_collection.async_load(
File "/usr/src/homeassistant/homeassistant/helpers/collection.py", line 184, in async_load
await self.notify_changes(change_sets)
File "/usr/src/homeassistant/homeassistant/helpers/collection.py", line 141, in notify_changes
await asyncio.gather(
File "/usr/src/homeassistant/homeassistant/helpers/collection.py", line 370, in _collection_changed
for entity in await asyncio.gather(
File "/usr/src/homeassistant/homeassistant/helpers/collection.py", line 336, in _add_entity
entities[change_set.item_id] = create_entity(change_set.item)
File "/usr/src/homeassistant/homeassistant/components/input_datetime/__init__.py", line 234, in from_yaml
input_dt = cls(config)
File "/usr/src/homeassistant/homeassistant/components/input_datetime/__init__.py", line 217, in __init__
current_datetime = py_datetime.datetime.combine(
TypeError: combine() argument 2 must be datetime.time, not None
These errors are because i’ve added a input_datetime: into a package yaml file.
I’ve since read i may have a old file in my .storage folder causing a conflict but i can’t see anything in there.
Has anyone any ideas i could try
Thanks