Migration of configuration to new approach - need help

The deprecation of the legacy template doesn’t go into full effect for another 3 months, so it is unlikely to be the cause of button and sensors being “gone”.

There is a migration guide in the docs:

There are extensive examples and links to an automatic conversion tool in the deprecation thread…