Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Add last_authenticated/access_time As Attribute in HASS #5

@databoy2k

Description

@databoy2k

Is your feature request related to a problem? Please describe.
I'm actually hoping to use your component as a trigger for when we log into HASS for automations (i.e. when we log into HASS, it triggers Zoneminder to turn the cameras from "off" to "monitor")

Describe the solution you'd like
sensor.last_successful_authentication to show another attribute in HASS: access_time (which I will then use in a template to look for changes)

Describe alternatives you've considered
Coding it myself, but... I don't know how. Sorry!

Additional context
Even better, if you would be so good, would be to add two attributes: Most recent access time and Previous access time (which would make comparisons even easier for my trigger). Extra work though so don't worry about it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions