Turn your LoctekMotion/FlexiSpot standing desk into a smart desk!

Hi, I am stuck with the configuration in ESPHome. The two files are in the ESPHome directory. I took the config from the example, but get all sorst of errors whes trying to install the the yaml file. This goes on for pages…

Can someone tell me what I am doing wrong?

In file included from src/main.cpp:118:
src/desk_height_sensor.h:74:56: error: stray '\302' in program
   <title>LoctekMotion_IoT/desk_height_sensor.h at main · iMicknl/LoctekMotion_IoT</title>
                                                        ^
src/desk_height_sensor.h:74:57: error: stray '\267' in program
   <title>LoctekMotion_IoT/desk_height_sensor.h at main · iMicknl/LoctekMotion_IoT</title>
                                                         ^
In file included from src/main.cpp:118:
src/desk_height_sensor.h:229:10: warning: missing terminating ' character
     <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-site-search-form" role="search" aria-label="Site" data-scope-type="Repository" data-scope-id="344620646" data-scoped-search-url="/iMicknl/LoctekMotion_IoT/search" data-owner-scoped-search-url="/users/iMicknl/search" data-unscoped-search-url="/search" data-turbo="false" action="/iMicknl/LoctekMotion_IoT/search" accept-charset="UTF-8" method="get">
          ^
src/desk_height_sensor.h:229:10: error: missing terminating ' character
     <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-site-search-form" role="search" aria-label="Site" data-scope-type="Repository" data-scope-id="344620646" data-scoped-search-url="/iMicknl/LoctekMotion_IoT/search" data-owner-scoped-search-url="/users/iMicknl/search" data-unscoped-search-url="/search" data-turbo="false" action="/iMicknl/LoctekMotion_IoT/search" accept-charset="UTF-8" method="get">
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/desk_height_sensor.h:286:75: error: stray '\342' in program
       <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
                                                                           ^
src/desk_height_sensor.h:286:76: error: stray '\206' in program
       <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
                                                                            ^
src/desk_height_sensor.h:286:77: error: stray '\265' in program
       <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
                                                                             ^
src/desk_height_sensor.h:291:56: error: stray '\342' in program
       <span class="d-inline-block ml-1 v-align-middle">↵</span>
                                                        ^
src/desk_height_sensor.h:291:57: error: stray '\206' in program
       <span class="d-inline-block ml-1 v-align-middle">↵</span>
                                                         ^
src/desk_height_sensor.h:291:58: error: stray '\265' in program
       <span class="d-inline-block ml-1 v-align-middle">↵</span>
                                                          ^
src/desk_height_sensor.h:333:75: error: stray '\342' in program
       <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
                                                                           ^
src/desk_height_sensor.h:333:76: error: stray '\206' in program
       <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
                                                                            ^
src/desk_height_sensor.h:333:77: error: stray '\265' in program
       <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
                                                                             ^
src/desk_height_sensor.h:338:56: error: stray '\342' in program
       <span class="d-inline-block ml-1 v-align-middle">↵</span>
                                                        ^
src/desk_height_sensor.h:338:57: error: stray '\206' in program
       <span class="d-inline-block ml-1 v-align-middle">↵</span>
                                                         ^