Hubitat proprietary event bug handling
- Deals with the propietary bug @keithriley discovered.
- Simplifies some proprietary method handling by avoiding nested conditions
- Detects a possible error condition in comparing proprietary events and recovers from it