powerMeter - any reason the presentation does not contain dashboard state?

Hi,
I’m looking at stock energyMeter and powerMeter capabilities presentation.

Energy

dashboard:
  states:
    - label: '{{energy.value}} {{energy.unit}}'
  actions: []
detailView:
  - label: '{{i18n.label}}'
    displayType: slider
    slider:
      range:
        - 0
        - 999.9
      step: null
      unit: energy.unit
      value: energy.value
      valueType: number
    state: null
  - label: '{{i18n.commands.resetEnergyMeter.label}}'
    displayType: pushButton
    pushButton:
      command: resetEnergyMeter
    state: null
automation:
  conditions:
    - label: '{{i18n.label}}'
      displayType: numberField
      numberField:
        value: energy.value
        valueType: number
        unit: energy.unit
  actions:
    - label: '{{i18n.label}}'
      displayType: list
      list:
        alternatives:
          - key: resetEnergyMeter
            value: '{{i18n.commands.resetEnergyMeter.label}}'
            type: active
id: energyMeter
version: 1

powerMeter

detailView:
  - label: '{{i18n.label}}'
    displayType: slider
    slider:
      range:
        - 0
        - 999.9
      step: null
      unit: power.unit
      value: power.value
      valueType: number
    state: null
automation:
  conditions:
    - label: '{{i18n.label}}'
      displayType: numberField
      numberField:
        value: power.value
        valueType: number
        unit: power.unit
  actions: []
id: powerMeter
version: 1

Is there any particular reason for omitted dashboard state in powerMeter presentation?
I’m trying to add powerMeter to multi tile device config and I think it doesn’t work because dashboard state is omitted.

Thanks

1 Like

Hi, @ygerlovin.

We will check this with the corresponding team and let you know.

1 Like

Hi, @ygerlovin

Me and Nayely got in touch with the Engineering Team about this issue. They will be fixing this soon. We will keep you updated.

2 Likes

please could you also fix the presentation of status and action in capability thermostatMode? it also has nothing in dashboard fields

Sure, I will let the Team know about it. I will keep you updated too.

2 Likes

@Mariano_Colmenarejo & @ygerlovin,
Both changes have already been published.

2 Likes

Thanks for the modification, but for thermostatMode is incomplete.
Please, I need the actions too in order to see and change the thermostarMode from a multi-litle

PS C:\Users\Mariano\smartthings> .\smartthings capabilities:presentation thermostatMode 1 -j
{
    "dashboard": {
        "states": [
            {
                "label": "{{thermostatMode.value}}",
                "alternatives": [
                    {
                        "key": "asleep",
                        "value": "Asleep",
                        "type": "active"
                    },
                    {
                        "key": "auto",
                        "value": "{{i18n.attributes.thermostatMode.i18n.value.auto.label}}",
                        "type": "active"
                    },
                    {
                        "key": "autowitheco",
                        "value": "Auto with Eco",
                        "type": "active"
                    },
                    {
                        "key": "autowithreset",
                        "value": "Auto With Reset",
                        "type": "active"
                    },
                    {
                        "key": "autochangeover",
                        "value": "Auto Changeover",
                        "type": "active"
                    },
                    {
                        "key": "autochangeoveractive",
                        "value": "Auto Changeover Active",
                        "type": "active"
                    },
                    {
                        "key": "autocool",
                        "value": "Auto Cool",
                        "type": "active"
                    },
                    {
                        "key": "autoheat",
                        "value": "Auto Heat",
                        "type": "active"
                    },
                    {
                        "key": "auxheatonly",
                        "value": "Auxillary Heat Only",
                        "type": "active"
                    },
                    {
                        "key": "auxiliaryemergencyheat",
                        "value": "Auxillary Emergency Heat",
                        "type": "active"
                    },
                    {
                        "key": "away",
                        "value": "Away",
                        "type": "active"
                    },
                    {
                        "key": "cool",
                        "value": "{{i18n.attributes.thermostatMode.i18n.value.cool.label}}",
                        "type": "active"
                    },
                    {
                        "key": "custom",
                        "value": "Custom",
                        "type": "active"
                    },
                    {
                        "key": "dayoff",
                        "value": "Day Off",
                        "type": "active"
                    },
                    {
                        "key": "dryair",
                        "value": "Dry air",
                        "type": "active"
                    },
                    {
                        "key": "eco",
                        "value": "{{i18n.attributes.thermostatMode.i18n.value.eco.label}}",
                        "type": "active"
                    },
                    {
                        "key": "emergency heat",
                        "value": "{{i18n.attributes.thermostatMode.i18n.value.emergencyheat.label}}",
                        "type": "active"
                    },
                    {
                        "key": "emergencyheat",
                        "value": "{{i18n.attributes.thermostatMode.i18n.value.emergencyheat.label}}",
                        "type": "active"
                    },
                    {
                        "key": "emergencyheatactive",
                        "value": "Emergency Heat Active",
                        "type": "active"
                    },
                    {
                        "key": "energysavecool",
                        "value": "Energy Save Cool",
                        "type": "active"
                    },
                    {
                        "key": "energysaveheat",
                        "value": "Energy Save Heat",
                        "type": "active"
                    },
                    {
                        "key": "fanonly",
                        "value": "Fan only",
                        "type": "active"
                    },
                    {
                        "key": "frostguard",
                        "value": "Frost Guard",
                        "type": "active"
                    },
                    {
                        "key": "furnace",
                        "value": "Furnace",
                        "type": "active"
                    },
                    {
                        "key": "heat",
                        "value": "{{i18n.attributes.thermostatMode.i18n.value.heat.label}}",
                        "type": "active"
                    },
                    {
                        "key": "heatingoff",
                        "value": "Heating Off",
                        "type": "active"
                    },
                    {
                        "key": "home",
                        "value": "Home",
                        "type": "active"
                    },
                    {
                        "key": "in",
                        "value": "In",
                        "type": "active"
                    },
                    {
                        "key": "manual",
                        "value": "Manual",
                        "type": "active"
                    },
                    {
                        "key": "moistair",
                        "value": "Moistair",
                        "type": "active"
                    },
                    {
                        "key": "off",
                        "value": "{{i18n.attributes.thermostatMode.i18n.value.off.label}}",
                        "type": "active"
                    },
                    {
                        "key": "out",
                        "value": "Out",
                        "type": "active"
                    },
                    {
                        "key": "resume",
                        "value": "Resume",
                        "type": "active"
                    },
                    {
                        "key": "rush hour",
                        "value": "{{i18n.attributes.thermostatMode.i18n.value.rushhour.label}}",
                        "type": "active"
                    },
                    {
                        "key": "rushhour",
                        "value": "{{i18n.attributes.thermostatMode.i18n.value.rushhour.label}}",
                        "type": "active"
                    },
                    {
                        "key": "schedule",
                        "value": "Schedule",
                        "type": "active"
                    },
                    {
                        "key": "southernaway",
                        "value": "Southern Away",
                        "type": "active"
                    }
                ]
            }
        ],
        "actions": []
    },
    "detailView": 

Like this for custom Thermostat Lock
Thanks agains

Hi @Mariano_Colmenarejo,
I am sorry but that is not possible. thermostaMode can not be placed there because it’s displayType is a list, but the dashboard doesn’t support lists due to the limited size.

1 Like

14 posts were split to a new topic: Issue with custom presentation (multi tiles in dashboard view)

A post was merged into an existing topic: Issue with custom presentation (multi tiles in dashboard view)

@andresg, @nayelyz,

Please, could you modify the switchLevel capability presentation to see level state in Dashboard?

Thanks

@Mariano_Colmenarejo,

I already let the team now about your request. I will keep you updated.

2 Likes

@Mariano_Colmenarejo,

The changes have already been published. Can you please check it?

Sorry, I do not have the cli available at this time, tomorrow I will do it and I will tell you what I see.

Anyway, if the custom vids still don’t work in edge, I won’t be able to fully test it.

Thanks for the quickness

@andresg Are you able to provide any updates on some of the other capabilities that have been reported to have non-functional or missing presentations? For example, pHMeasurement, smokeDetector, tV and bypassable?

Hi @andresg and @nayelyz

Thank you very much for a quick fixes.

Is there any chance that increase and decrease actions (or maybe stepUp/stepDown) could be added to automation actions of switchLevel capability? Preferably with step value?
That would allow to control dimmer with buttons.
Thanks

These two capabilities already have the corresponding presentation in the dashboard view but there’s an issue related to the plugin (ST app) that is preventing them to be displayed. That’s being reviewed by another team.

About tV and bypassable, I found a report where they are included and asked for an update. Once I get more info, I’ll let you know.

Could you provide more details about this request, please? It’s not very clear what would you expect to see in the app.

@nayelyz

The automations currently allow setting switchLevel to some predefined value.
I’d like to be able also to increase/decrease the switchLevel value from the automation.

The expected use case:

  1. press add routine
  2. select button for IF statement in the routine
  3. select dimmer device for Then statement in the routine
  4. switchLevel capability should expose 2 options
    a. the first that we have today that allows setting to some predefined value
    b. the second (new) that allows changing the current value by some step

So I expect to see in automation

  1. Dimmer set value - when triggered sets the value to value
  2. Dimmer change value - when triggered sets the value to currentValue += value
    Both would receive a parameter, but the second could also get negative value, so either increasing or decreasing can be achieved

Does it make any sense?
Thanks

P.S.
Tagging Brian @AutomateYourLife for more insights

Thanks @ygerlovin! This is great.

We’re looking to increment/decrement values using simple automations within SmartThings. This is a pretty normal automation request so we’re just hoping that we can use this as a counter for many applications. It would also be natural features for things like thermostats, dimmer switches, etc.

You can do increase/decrease of Level and White temperature in automation with @Mariano_Colmenarejo zigbee driver for Lights.