#Sensor or Attribute
1 messages ยท Page 1 of 1 (latest)
.
The user is adding four attributes, but I feel that "dateTime" should be a sensor
delay/startDateTime/schedules I think are OK as attributes
It's just "dateTime" (= the last time that the car communicated the data to the server)
Other coordinators have this as a Sensor entity - and I feel it should be the case for this one as well
The user feels differently
Ah, that's always an interesting one as we already track when data got updated
I don't like schedules though
As in, we already have services for this right
I think we could use one for reading as well
Possibly - but that's another job altogether ๐
I think there is value in a quick-glance at the current data, they are available in the coordinator, and they are marked as _unrecorded_attributes
Like at this point I try to avoid adding attributes as much as possible
the dateTime seems to be specifically on the charge mode structure, so it may not be the time of the overall data update from the vehicle, but specifically for the charge mode? in that case, I think its fine to be an attribute on the sensor since its directly tied to it
but if we move any of the others out of the attributes, we should also move the dateTime
I think having a date time string in attributes is meh
why?
It doesn't take timezones and such into account like a timestamp entity does
true, true
Feels more like a diagnostic sensor to me...