core/tests
Tsvi Mostovicz 25712f16b3 Jewish calendar sensor (#16393)
* Initial commit for  jewish calendar sensor

* Make check for logging errors into it's own function

* Can't use f-strings as we need to support python3.5

* Implement basic functionality: printing of date

* Update requirements_all.txt

* Allow user to specify date for sensor

* Add hdate to test requirements

* Update to match pull request

* Support date output in hebrew

* Limit languages to english and hebrew

* Add name back to sensor

* Change icon to be calendar-today

* Add multiple sensors

* Fix tests

* Make Hound happy, remove unused imported class

* hdate expects datetime.date not datetime.datetime

* Return sensor name

* Times should be returned as time object, not datetime

* Add myself to codeowners for jewish calendar component

* Return actual reading, not index

* Add more tests. Currently failing.

Will need to update hdate API and version before continuing.

* Fix weekly portion test

* Make all tests pass

* Make travis happy and add a test so it doesnt happen again

* Remove defaults in __init__ method

* Change sensor state variable to local variable in update() method

* Minor changes
2018-09-17 22:43:31 +02:00
..
auth Track refresh token last usage information (#16408) 2018-09-12 13:24:16 +02:00
components Jewish calendar sensor (#16393) 2018-09-17 22:43:31 +02:00
fixtures avoid error in debug log mode and rss entry without title (#16316) 2018-08-31 12:54:25 +02:00
helpers Clean up device update, add via-hub (#16659) 2018-09-17 13:39:30 +02:00
mock Look at registry before pulling zwave config values (#14408) 2018-05-12 17:45:36 -04:00
resources Revised package util tests 2016-01-30 14:08:32 -05:00
scripts Fix check config packages key error (#15840) 2018-08-17 05:28:00 +02:00
test_util Deprecated stuff (#16019) 2018-08-20 16:34:18 +02:00
testing_config add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
util Improve package loadable (#16237) 2018-08-28 12:52:18 +02:00
__init__.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
common.py Clean up device update, add via-hub (#16659) 2018-09-17 13:39:30 +02:00
conftest.py Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00
test_bootstrap.py Make typing checks more strict (#14429) 2018-07-13 13:24:51 +03:00
test_config.py Blow up startup if init auth providers or modules failed (#16240) 2018-08-28 20:54:01 +02:00
test_config_entries.py Add config entries to connection class (#16618) 2018-09-17 10:12:46 +02:00
test_core.py Rework timer delays (#16650) 2018-09-17 10:10:50 +02:00
test_data_entry_flow.py Allow finish_flow callback to change data entry result type (#16100) 2018-08-21 10:48:24 -07:00
test_loader.py Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00
test_main.py Hello Python 3.5 (#12610) 2018-02-22 23:22:27 -08:00
test_requirements.py Improve package loadable (#16237) 2018-08-28 12:52:18 +02:00
test_setup.py Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 (#14557) 2018-08-24 10:28:43 +02:00