26 lines
623 B
YAML
26 lines
623 B
YAML
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: ParsingException
|
|
conditions: (binary_sensor.true or binary_sensor.false
|
|
|
|
test_2:
|
|
expected_result: ParsingException
|
|
conditions: (binary_sensor.true and) binary_sensor.false
|
|
|
|
test_3:
|
|
expected_result: ParsingException
|
|
conditions: binary_sensor.on or binary_sensore.off |