Options
All
  • Public
  • Public/Protected
  • All
Menu

Class JSONThermostat

A class that converts JSON objects into values

Hierarchy

  • JSONThermostat

Index

Methods

Methods

settings

  • settings(settings: string): void
  • A method that accepts a settings JSON string and converts the values to send them to the class App

    Parameters

    • settings: string

      Represents the JSON string that contains the settings

    Returns void

update

  • update(update: string): string
  • A method that accepts a update JSON string and converts the values to send them to the class App and returns the automation info JSON string

    Parameters

    • update: string

      Represents the JSON string that contains the update

    Returns string

    A JSON string that represents the automation info

Generated using TypeDoc