Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Added underscores to last updated attributes #13

Merged
merged 1 commit into from
Dec 11, 2017
Merged

Added underscores to last updated attributes #13

merged 1 commit into from
Dec 11, 2017

Conversation

marthoc
Copy link
Contributor

@marthoc marthoc commented Nov 18, 2017

Though light_level had an underscore, last updated did not, so was causing a problem when making a template sensor. Added underscores to each instance of last updated to make it last_updated.

Though light_level had an underscore, last updated did not, so was causing a problem when making a template sensor. Added underscores to each instance of last updated to make it last_updated.
@rjghendrikx
Copy link

I made exactly the same change. The last_updated attribute is needed to register events where the same button is clicked twice. Without last_updated there would be no change in state visible to home assistant.

@lucacri
Copy link
Contributor

lucacri commented Dec 11, 2017

Please merge this, it makes it possible to click the same button twice

@robmarkcole robmarkcole merged commit fb2fdcb into robmarkcole:master Dec 11, 2017
@robmarkcole
Copy link
Owner

Done, cheers!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants