core/tests/helpers
Anders Melchiorsen 5fa8037231 Always return True/False from is_state and is_state_attr (#7138)
* Always return True/False from is_state and is_state_attr

These functions are documented to always return True/False but the
short-circuit evaluation would return None if the entity_id did not exist.

* Reword into a single statement
2017-04-16 16:36:15 -07:00
..
__init__.py Fix PEP257 issues 2016-03-09 11:15:04 +01:00
test_aiohttp_client.py aiohttp 2 (#6835) 2017-03-30 00:50:53 -07:00
test_condition.py Optimize template 2 (#3521) 2016-09-27 21:29:55 -07:00
test_config_validation.py Allow easier customization of whole domain, entity lists, globs. (#5215) 2017-01-22 21:19:50 +02:00
test_discovery.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_dispatcher.py Move mqtt from eventbus to dispatcher / add unsub for dispatcher (#6206) 2017-02-24 17:11:50 -08:00
test_entity.py Prevent entities running multiple updates simultaneously (#6511) 2017-03-14 09:26:55 -07:00
test_entity_component.py Make core to look avilable state of device on servicecall (#7045) 2017-04-11 08:59:46 -07:00
test_entity_values.py Simplify customize (#6007) 2017-02-15 19:47:30 -08:00
test_event.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_init.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_location.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_restore_state.py Tweak recorder/restore_state (#6412) 2017-03-05 10:52:08 +01:00
test_script.py Add 'wait_template' to script commands / Refactory track_template (#5827) 2017-02-12 13:27:53 -08:00
test_service.py Remove event decorators (#6634) 2017-03-15 14:46:57 +01:00
test_state.py Async bootstrap / component init (#3991) 2016-10-27 00:16:23 -07:00
test_template.py Always return True/False from is_state and is_state_attr (#7138) 2017-04-16 16:36:15 -07:00