Bug in sensor templating?

As a start, name your sensors something that doesn’t conflict with an existing entity. Like:

sensor 8:
  platform: template
  sensors:
    some_other_name_here:
      value_template: '{% if is_state('device_tracker.epson3e7694fiosrouterhome', 'home') %}on{% else %}WTF{% endif %}'