'Why does the smarthome testsuite fail?

I was trying to run the smart home test suite for my test TV device. Traits onOff works fine with Google Home and Google Assistant. But if i run the test suite for the same device.

Followed the instructions given in the link: https://developers.google.com/actions/smarthome/develop/testing-submitting

I am getting the below error: AssertionError: Expected state to include: {"on":true}, actual state: {}: expected false to be true Ok Google. Turn on the Media room TV (manual) ‣ AssertionError: expected false to be true

additional info: Report State also implemented. But the onOff traits not reaching the fulfillment.



Solution 1:[1]

This kind of an error on test suite indicates that your report state does not reach Google servers in a reliable fashion. The test result indicates it is looking for an "on":true case written to Homegraph, but it cannot find your reported state change.

You can verify if your reported state changes are reaching Homegraph by using Home Graph Viewer.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Anish Yadav