Paulus Schoutsen
08fe7c3ece
Pytest tests ( #17750 )
...
* Convert core tests
* Convert component tests to use pytest assert
* Lint 🤷♂️
* Fix test
* Fix 3 typos in docs
2018-10-24 12:10:05 +02:00
Benedict Aas
c8e0de19b6
add relative time option to simulated sensors ( #14038 )
...
By default simulated sensors are relative to when they're activated,
instead we make this togglable with this new option 'relative_to_epoch',
and instead they become relative to 1970-01-01 00:00:00.
2018-06-14 14:06:49 -04:00
Fabian Affolter
f1aba5511f
Limit to 3 decimals ( fixes #14773 )
2018-06-05 19:44:41 +02:00
Robin
bf41674e06
Adds simulated sensor ( #12539 )
...
* Create simulated.py
* Create test_simulated.py
* Update .coveragerc
* Drop numpy and fix attributes
Drop numpy and fix attributes to be machine readble
* Update test_simulated.py
* Update simulated.py
* Update test_simulated.py
* Update simulated.py
* Update test_simulated.py
* Update simulated.py
* Update simulated.py
* Update test_simulated.py
* Update simulated.py
* Fix default random seed error
* Update simulated.py
* Addresses balloob comments
* Update simulated.py
2018-02-26 00:01:01 -08:00