This is excellent news. On this side of the pond consumer groups (and the European Commission?) have been fighting for this. The idea is to try to make consumer goods last longer and get away from the "broke - throw it in land fill" culture. I wonder if it will every apply to software - imagine Microsoft having to support Windows 8 or have to make the code available. The mind boggles.
I don't believe it will ever apply to software, at least it shouldn't. Microsoft has never charged you for fixing problems with Windows. They provide a constant stream of free updates. But if you have a specific problem, they really aren't any help at all. Everyone already fixes their own problems or takes their computer into a local shop to fix it. Windows is more of an example of what these bills are shooting for rather than something that needs fixing.
Tennessee is planning to put a right to repair bill up for a vote this year. We passed a more limited version of one in 2019 that mostly dealt with farm equipment. Hopefully a lot of states, including TN, will get to work on the electronics side of things.