Comments (3)
Hi @fab33,
I'm not sure I understand. Do you think it's related to #79 ?
from openhab-vscode.
No it's not related to #79.
if you have this :
When you right-click to creat items on "Endstop Bureau" you have items :
Switch EndstopBureau_Status "Status" {channel="mysensors:light:ESPgw:Bureau_Volet_EndStop:status"}
Number EndstopBureau_Var1 "Variable 1" {channel="mysensors:light:ESPgw:Bureau_Volet_EndStop:var1"}
Number EndstopBureau_Var2 "Variable 2" {channel="mysensors:light:ESPgw:Bureau_Volet_EndStop:var2"}
Number EndstopBureau_Var3 "Variable 3" {channel="mysensors:light:ESPgw:Bureau_Volet_EndStop:var3"}
Number EndstopBureau_Var4 "Variable 4" {channel="mysensors:light:ESPgw:Bureau_Volet_EndStop:var4"}
Number EndstopBureau_Var5 "Variable 5" {channel="mysensors:light:ESPgw:Bureau_Volet_EndStop:var5"}
Number EndstopBureau_Battery "Battery Level" {channel="mysensors:light:ESPgw:Bureau_Volet_EndStop:battery"}
DateTime EndstopBureau_Lastupdate "Last Update" {channel="mysensors:light:ESPgw:Bureau_Volet_EndStop:lastupdate"}
but for example if you right-click on Var1 to create item you have :
Number Var1 "Variable 1" {channel="mysensors:light:ESPgw:Bureau_Volet_EndStop:var1"}
one time it's EndstopBureau_Var1 (right name for me) and one time it's only Var1
from openhab-vscode.
Hey @kubawolanin i find the suggested change useful and ahd a look into this.
The magic happens in https://github.com/openhab/openhab-vscode/blob/master/src/ThingsExplorer/ItemsProvider.ts
but it seems that we have no information about the thing in the channel model.
Are we able to get the "Parent" from somewhere, when we know the channel?
Otherwise we could improve the channel model and add a parent property.
We could addd these info while building the tree view from rest api then.
from openhab-vscode.
Related Issues (20)
- [RFC] Add a FileSystemProvider to allow editing objects remotely HOT 1
- Provide Proper Migration Documentation
- [RFC]Refactor item from channel creation HOT 1
- Changelog is not shown in marketplace/extension dialog HOT 1
- QuantityType parsing HOT 1
- preview and insert icons HOT 1
- RFC - How to deal with basic auth HOT 1
- Openhab extension fails to initialize for workspace wtih UNC path HOT 1
- Complete the switch to axios as http library
- VSC generic error messages HOT 3
- deprectaed propertie 'openhab.username' in default config HOT 1
- Enable support for Visual Studio Code for the web
- The type *Rules is already defined in *.rules (org.eclipse.xtext.xbase.validation.IssueCodes.duplicate_type) HOT 6
- Request textDocument/hover failed HOT 1
- API via HTTPs - Error: self signed certificate in certificate chain HOT 3
- rules file: inconsistent color markings on double click.
- Support for JRuby-Files like Rules-Files
- vscode extension shows error wrongly with temperature variable in rules
- API access gets 400 with swag reverse proxy
- Visual Studio code error for "openHAB Language Server": "getaddrinfo ENOTFOUND openhabianpi"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhab-vscode.