Start by changing all instances of physicalgraph to hubitat, then look at the button differences post linked to from the porting wiki here: App and driver porting to Hubitat
Start by changing all instances of physicalgraph to hubitat, then look at the button differences post linked to from the porting wiki here: App and driver porting to Hubitat