Add/adjust attribution of sensor platform (#3719)

* Add/adjust attribution

* Fix typo
This commit is contained in:
Fabian Affolter 2016-10-11 09:28:19 +02:00 committed by Paulus Schoutsen
parent 7cf2c48175
commit 8ded8f572a
12 changed files with 101 additions and 57 deletions

View file

@ -173,6 +173,9 @@ STATE_UNLOCKED = 'unlocked'
STATE_UNAVAILABLE = 'unavailable'
# #### STATE AND EVENT ATTRIBUTES ####
# Attribution
ATTR_ATTRIBUTION = 'attribution'
# Contains current time for a TIME_CHANGED event
ATTR_NOW = 'now'