Skip to content

how to fetch only value of entity from api, not detailed info? #462

Closed
@harvey637

Description

Hi, how do I get only the value of an entity via api?

the documented simple fetch does result in detailed info about entity, not only value ;.(

/usr/bin/wget --no-check-certificate -q http://ems-esp/api/thermostat/hc1/seltemp -O -
{
  "name": "seltemp",
  "fullname": "hc1 selected room temperature",
  "circuit": "hc1",
  "value": 20,
  "type": "number",
  "min": 5,
  "max": 29,
  "uom": "°C",
  "readable": true,
  "writeable": true,
  "visible": true
}

I hope to get only "20"

cu
Harvey

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions