Seems on my setup that the state for the TV is set to ‘off’ in the netflix menu. Might help with this…
My use case is to turn off the fish tank pump and lights when the media_player.livingroomtv state is ‘on’, and back on when the TV is turned off. the ‘off’ automation triggers when netflix menu is opened.