Indexing a timezone-aware DatetimeIndex with a timezone-naive datetime is deprecated and will raise KeyError in a future version. Use a timezone-aware object instead.
selected_pv_power = self.pv_power.loc[start_dt:end_dt].dropna(axis="columns", how="any")
Detailed Description
Context
This is when loading live pv data
Possible Implementation
Remove timezone from live dataframe index