i realised that things like Buttons and things like Levers and Powered Rails are NO block entity's but why? so we cant set them to other things like "they are on" with a command i think this is a bugg because in earlier versions it works with the command /blockdata. now doesnt work anymore
Never has been possible. You can change the state using
/setblock x y z lever[powered=true]
though 🙂