Probably the same issue as this one:
Making NonDimmer Switches Show up as “light” in STHM in new V3 app?