Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Hide Devices #224

Open
DoinitSideways opened this issue Dec 28, 2021 · 1 comment
Open

Cannot Hide Devices #224

DoinitSideways opened this issue Dec 28, 2021 · 1 comment

Comments

@DoinitSideways
Copy link

Please excuse if its a blatant obvious mistake.

I cannot get the hidden parameter to work. No matter where i put it in the config... please help

{
"units": "si",
"interval": 5,
"stations": [
{
"nameNow": "Highland Reserve",
"service": "weatherunderground",
"key": "xxxxxxxx",
"stationId": "xxxxxx",
"language": "en",
"compatibility": "home",
"conditionCategory": "simple",
"now": true,
"extraHumidity": false
}
],
"hidden": [
"CloudCover",
"WindSpeed",
"UVIndex",
"WindDirection",
"AirPressure",
"DewPoint"
],
"platform": "WeatherPlus"
}

@dacarson dacarson added the Bug label Mar 20, 2024
@dacarson dacarson self-assigned this Mar 20, 2024
@dacarson
Copy link
Collaborator

WeatherUnderground does not report Cloud Cover, so that one should never show.

Testing this myself with WeatherUnderground and configured through plugin config UI, I set the same items mentioned above to be hidden, it seems to be mostly working.

When I check with Apple's Home app, I correctly only see Temperature reported from the plugin.
When I check the Eve app, I still see Air Pressure. However, UV Index, Wind Direction, Wind Speed, Dew Point are all hidden.

Your configuration isn't correct. The hidden values are part of the station configuration. Can you try:

{
 "units":"si",
 "interval":5,
 "stations":[
    {
       "nameNow":"Highland Reserve",
       "service":"weatherunderground",
       "key":"xxxxxxxx",
       "stationId":"xxxxxx",
       "language":"en",
       "compatibility":"home",
       "conditionCategory":"simple",
       "now":true,
       "extraHumidity":false,
       "hidden":[
          "CloudCover",
          "WindSpeed",
          "UVIndex",
          "WindDirection",
          "AirPressure",
          "DewPoint"
       ]
    }
 ],
 "platform":"WeatherPlus"
}

Can you test again with the hidden items in the right place in the config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants