Add handling of state unavailable for the HA hubs (doesn't seem to happen for the ISY)
Add handling of state unavailable for the HA hubs (doesn't seem to happen for the ISY)

kevinkahn/softconsole,kevinkahn/softconsole