We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc712e0 commit acaab3dCopy full SHA for acaab3d
source/developers/code_review_platform.markdown
@@ -61,6 +61,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
61
1. Extend entity from component, e.g. `class HueLight(Light)`
62
2. Do not call `update()` in constructor, use `add_devices(devices, True)` instead.
63
3. Do not do any I/O inside properties. Cache values inside `update()` instead.
64
+ 4. The state and/or attributes should not contain relative time since something happened. Instead it should store UTC timestamps.
65
66
### {% linkable_title 6. Communication with devices/services %}
67
0 commit comments