Idea - Reading detection by picking book from the switch - Which?


i just implemented bed occupancy weight sensor. What I want to do now is to find a switch so I when I put the book on it it will report status reading mode off and when i get the book it will switch on. The automation keep my light above bed on.

Do you have any idea what switch can be ideal to buy? I will connect it to the Wemos D1 then.