Aqara motion sensor P1 - bug - automation is missing Illuminance

It very important to read all the breaking changes before updating and to provide all info when creating a topic. If you had said that you also updated Z2M in your first post, I could have solved your problem 2 days ago.

Please take the time to mark my post with the Solution tag so that others with the same problem can find the answer immediately.