Cast-web porting help - SOLVED

This should get you set GitHub - jp0550/smartthings at hubitat

The key for the dropdown fix is below

                def options = [:]
                state.devicesMap.each {
                 	options[it.key] = it.value   
                }
                input "selectedDevices", "enum", required:false, title:"Select Cast Device ("+ state.devicesMap.size() +" found)", multiple:true, options: options

@mike.maxwell The best I can figure is that the options dropdown doesn't like to take a map straight from the state (maybe due to the deserialization process). Recreating it solves the issue.

Other hubitat patches to make the rest work are in the repo above. I didn't touch the group sync app code though.

3 Likes