Filter string

Hello everyone.
Screenshot_8

I have a sensor via Multiscrape that delivers the following result:
Template-Editor:
{{ states(‘sensor.aneltest’) }}

result:
NET-CONTROL ;192.168.200.20;NET - Power Control;1736079514;89573;h;6.5;27.4
Treppenlichter;0;0;Pumpe;1;0;Baumhaus;1;0;Wasser LED;0;0;Wasserlauf;0;0;Grillplatz;0;0;Baumlichter;0;0;Anbau;1;0;
BKW;1;0;Frei2;0;0;Hannes;1;0;Sophia;1;0;Schlafzimmer;1;0

The goal would now be to get an output if Frei2;0;0 = off and if Frei2;1;0 = on to get the result.

Can someone help me with the template?

In your multiscrape sensor change the sensor: block to this:

binary_sensor:
  value_template: "{{ value[:255].split(';')[35]|bool }}"

Also please don’t post pictures of text. Format your config correctly for the forum using either the </> button on the post tool-bar or by doing this: https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16