Fabian Affolter
9838697d2b
Fix PEP257 issues
2016-03-09 10:25:50 +01:00
Paulus Schoutsen
bade0e0d71
Make tests pass flake8
2016-02-14 13:07:21 -08:00
Paulus Schoutsen
bf0b453677
Merge branch 'hotfix/state-as-number' into dev
...
Conflicts:
homeassistant/const.py
tests/helpers/test_state.py
2016-02-13 08:32:06 -08:00
Fabian Affolter
00afaac54c
Update for file header, docstrings, and PEP8/PEP257
2016-02-13 14:19:11 +01:00
Paulus Schoutsen
1571b33e4a
Fix: state_as_number always return float
2016-02-13 00:08:32 -08:00
Dan Smith
3aa34deaa2
Add state_as_number() helper
...
This adds state_as_number(), a helper method that tries to interpret
state as a number, for cases we can predict. It's a generalization of
what is copy-and-paste-ed into multiple other places.
2016-02-12 00:41:32 +00:00
Paulus Schoutsen
736183e6f5
Fix bug in reproduce_state with complex state attributes
2016-01-03 11:27:30 -08:00
Paulus Schoutsen
f8b2570cb3
Group entities when reproducing a state
2016-01-03 02:32:09 -08:00