Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set input_datetime via UI Frontend #23489

Open
4 tasks done
antsca opened this issue Dec 28, 2024 · 0 comments
Open
4 tasks done

Unable to set input_datetime via UI Frontend #23489

antsca opened this issue Dec 28, 2024 · 0 comments

Comments

@antsca
Copy link

antsca commented Dec 28, 2024

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

I have an input_datetime helper with both date and time. When I try to change the date via UI or input_datetime.set_datetime service I get the following error:
Failed to perform the action input_datetime.set_datetime. Could not parse date for dictionary value @ data['date']. Got None

Describe the behavior you expected

Expecting the date changes to the input value

Steps to reproduce the issue

  1. Create an input_datetime helper called "test" with (at least) date enabled (has_date: true).
  2. Open "Developer tools" and go to "Actions" tab.
  3. Switch to YAML Mode and enter the following lines:
action: input_datetime.set_datetime
data:
  date: "2024-01-01"
target:
  entity_id: input_datetime.test

  1. Click "Permorm Action" button.

What version of Home Assistant Core has the issue?

2024.12.5

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Google Chrome 131.0.6778.205 (64 bit)

Which operating system are you using to run this browser?

Microsoft Windows 11 Home (Version 10.0.22631 build 22631)

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant