Just spitballing here, but perhaps the switch cover was broken or damaged such that it didn't provide the intended function.
No idea about the LATAM incident aircraft, but we tend to forget that the 787 has been in commercial service for over12 years - there are some pretty high time aircraft out there that are getting rather worn...