Functions | |
| float|None | datetime_to_timestamp_or_none (datetime|None dt) |
| datetime | process_timestamp (datetime ts) |
| datetime|None | process_timestamp (datetime|None ts) |
| None | process_timestamp (None ts) |
| str | process_timestamp_to_utc_isoformat (datetime ts) |
| str|None | process_timestamp_to_utc_isoformat (datetime|None ts) |
| None | process_timestamp_to_utc_isoformat (None ts) |
| datetime|None | timestamp_to_datetime_or_none (float|None ts) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | DB_TIMEZONE = "+00:00" |
| string | EMPTY_JSON_OBJECT = "{}" |
Models for Recorder.
| float | None homeassistant.components.recorder.models.time.datetime_to_timestamp_or_none | ( | datetime | None | dt | ) |
| datetime homeassistant.components.recorder.models.time.process_timestamp | ( | datetime | ts | ) |
| datetime | None homeassistant.components.recorder.models.time.process_timestamp | ( | datetime | None | ts | ) |
| None homeassistant.components.recorder.models.time.process_timestamp | ( | None | ts | ) |
| str homeassistant.components.recorder.models.time.process_timestamp_to_utc_isoformat | ( | datetime | ts | ) |
| str | None homeassistant.components.recorder.models.time.process_timestamp_to_utc_isoformat | ( | datetime | None | ts | ) |
| None homeassistant.components.recorder.models.time.process_timestamp_to_utc_isoformat | ( | None | ts | ) |
| datetime | None homeassistant.components.recorder.models.time.timestamp_to_datetime_or_none | ( | float | None | ts | ) |
|
private |
| string homeassistant.components.recorder.models.time.DB_TIMEZONE = "+00:00" |