Write input_datetime.xxxxx in appdaemon

How can I change the value of a variable in home assistant, input_datetime.xxxxx, in appdaemon. The variable input_number.xxxxx can with self.set_value(“input_number.xxxxx”, value = 23.00) works fine. But I can’t do this with input_datetime. Can someone tell me what I’m doing wrong.

To change any of the built in HA helper entities, you want to use the call_service method.