Open chris-hunter opened 5 months ago
Use like this:
self.get_history(entity_id = "sensor", days = 5)
`history_start_time = datetime.now() - timedelta(hours=12)
H1 = self.get_history(entity_id="climate.play_room_radiator_1_heat_demand", start_time = history_start_time)`
you're using positional argument above for your sensor, that doesn't work
What happened?
When using hass.get_history() I get an error saying that I have used 2 positional arguements - but I haven't, I have used one (the entity ID), and a keyword arguement (start_time). I have tried using the days keyword arguement and get the same error. I am using python 3.11 on ubuntu 22.04, appdaemon 4.4.2
Version
4.4.2
Installation type
Python virtual environment
Relevant log output
Relevant code in the app or config file that caused the issue
Anything else?
No response