Google Home - Add TVs, temperature sensor

Description

Currently, the Google Home integration of Gladys primarily allows exposing devices of the following types:

  • Light
  • Switch / outlet
  • Shutter
  • Curtain

With features such as On/Off, brightness, color, and position.

It would be interesting to extend this integration so that more types of Gladys devices and features can be exposed in Google Home.

Device Examples

Sensors

The ability to report compatible sensors, including:

  • Temperature
  • Humidity
  • Possibly other types of measurements supported by Google Home

This would allow, for example, viewing the temperatures of the different rooms measured by Gladys in Google Home.

Televisions

Add support for televisions with, depending on the features available in Gladys and those supported by Google Home:

  • On / Off
  • Volume
  • Mute
  • Source selection
  • Media controls
  • Application selection

This could be used, for example, by existing or future TV integrations in Gladys.

Cameras

Investigate the possibility of exposing Gladys cameras to Google Home to view their stream from compatible devices (Nest Hub, Google TV, Google Home app, etc.).

This would require verifying the compatibility between the streams available in Gladys and the CameraStream trait of Google Home.

Goal

The idea would be to gradually enrich the mapping between Gladys categories/types of features and the device types / traits offered by Google Home.

The current architecture of the Google Home integration already seems to allow adding new deviceTypes and traits independently, which could potentially allow this evolution to be implemented gradually, device type by device type.