Closed
Description
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.
Describe the issue you are experiencing
ha-selector-datetime behaves oddly in ha-service-control. Condider calendar:create_event
, the only service I see that uses this selector type. It has no default values.
start_date_time:
name: Start time
description: The date and time the event should start.
example: "2022-03-22 20:00:00"
selector:
datetime:
end_date_time:
name: End time
description: The date and time the event should end.
example: "2022-03-22 22:00:00"
selector:
datetime:
On first load, end time is selected as enabled (it shouldn't be), the time field is turned on but the date field is disabled.
Switch to yaml mode yields:
service: calendar.create_event
data:
end_date_time: undefined 00:00:00
Switch back to UI editor, it gets even more messed up. Now start time has the same problem, and the date field has completely disappeared from end time:
Switch back to yaml mode a second time and see:
service: calendar.create_event
data:
end_date_time: undefined 00:00:00
start_date_time: undefined 00:00:00
Describe the behavior you expected
fields should be disabled by default
Steps to reproduce the issue
- Developer Tools -> Services
- Select Calendar: Create event
...
What version of Home Assistant Core has the issue?
2023.3.1
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
firefox, chrome
Which operating system are you using to run this browser?
win10
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
Metadata
Metadata
Assignees
Labels
No labels