1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +00:00

Don't show wrong info in logbook (#17439)

This commit is contained in:
Bram Kragten
2023-07-31 20:25:57 +02:00
committed by GitHub
parent 2a9ef7d91f
commit 3e60d2e850
3 changed files with 9 additions and 3 deletions

View File

@@ -157,7 +157,6 @@ export const createHistoricState = (
attributes: {
// Rebuild the historical state by copying static attributes only
device_class: currentStateObj?.attributes.device_class,
event_type: currentStateObj?.attributes.event_type,
source_type: currentStateObj?.attributes.source_type,
has_date: currentStateObj?.attributes.has_date,
has_time: currentStateObj?.attributes.has_time,