[2.3.9.193] Google Home “Something went wrong” [C8-Pro]

I fixed DMan's Bond Fan driver. Works with the lates Hubitat Google Home integration.

Details here

Edit:

Bug submission: Null safe checks in Google Home app while validating device instances’ properties.

I’m sure that are many either incomplete drivers (not fully implementing expected functionality) and users who don’t click “Configure” to fully populate expected properties.

Perform a null safe check and if any expected or required property is missing (null) then either reject the device with a log message and move on or log the miss and institute a sane default.

Example of a sane default for a missing supportedFanSpeeds property would be one of:

  • [“on”, “off”]
  • [“high”, “medium-high”, “medium”, “medium-low”, “low”, “on”, “off”]

The former being the truly safest option for the sake of not sending unexpected requests or data to the driver later on. But even the later isn’t a bad option and emulates what Hubitat does elsewhere with a fixed speed set.

A poorly written or configured device driver shouldn’t effectively crash the Google Home app.

1 Like

I'll take a look once power comes back and evacuation is over

1 Like

@oldcomputerwiz I hope you're safe and didn't suffer an damage. My stepson is also on his way back home from evacuation. (Pinellas Park).

1 Like

We are safe. We lost the screen room but the house was not breeched so we consider ourselves extremely fortunate. Still no power there so we are in no hurry to get back. It's so bad people are begging for just a gallon of gas.

We are in an RV so are currently comfortable.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.