fake_entities: binary_sensor.true: True binary_sensor.false: False binary_sensor.off: 'off' binary_sensor.on: 'on' sensor.int17: 17 sensor.int170: 170 sensor.int200: 200 sensor.int3: 3 sensor.float10: 10.0 sensor.float5: 5.0 sensor.strNuit: 'Nuit' sensor.strHome: 'home' tests: test_1: expected_result: Succeeded conditions: sensor.int200 > 115 and (sensor.int200 < 190 or (binary_sensor.on and sensor.int200 < 220)) test_2: expected_result: Failed conditions: (sensor.int170 * 2) < sensor.int200 test_3: expected_result: Failed conditions: not not binary_sensor.off test_4: expected_result: Succeeded #TODO: find a way to make it work without parenthesis #conditions: (binary_sensor.on and binary_sensor.on) == not binary_sensor.false conditions: (binary_sensor.on and binary_sensor.on) == (not binary_sensor.false) test_5: expected_result: Succeeded conditions: (binary_sensor.on and binary_sensor.on) == True