GithubHelp home page GithubHelp logo

ihorsyerkov / linak-desk-card Goto Github PK

View Code? Open in Web Editor NEW
61.0 2.0 10.0 138 KB

Home Assistant Lovelace Card for controlling desks based on linak bluetooth controller.

License: MIT License

JavaScript 9.39% TypeScript 90.61%
hacs home-assistant custom-card lovelace linak-desk-card

linak-desk-card's People

Contributors

danielrheinbay avatar ihorsyerkov avatar jeromepoulin avatar mathijsg avatar padawarmik avatar sindrebroch avatar wrt54g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

linak-desk-card's Issues

German Translation

Hi,
I just want to provide you with a german translation:

{
"common": {
"version": "Version",
"name":"Linak Desk Card",
"description": "Kontrolliere die Tischhöhe mit dieser Karte",
"invalid_configuration": "Fehlerhafte Konfiguration",
"desk_and_height_required": "Tisch- und Höhensensor sind erforderlich",
"min_and_max_height_required": "min_height und max_height Einstellungen sind erforderlich"
},
"editor": {
"name": "Name (Optional)",
"desk":"Tisch Entität (Erforderlich)",
"height_sensor":"Height Sensor (Erforderlich)",
"connection_sensor":"Verbindungs-Sensor (Erforderlich)",
"moving_sensor":"Höhen-Sensor (Erforderlich)",
"min_height":"Min Höhe (Erforderlich)",
"max_height":"Max Höhe (Erforderlich)",
"presets":"Voreinstellungen"
},
"status": {
"connected": "Verbunden",
"disconnected": "Getrennt"
}
}

Desk height NaN - card buttons don't work

Checklist:

  • [ X ] I updated to the latest version available
  • [ X ] I cleared the cache of my browser

Release with the issue:
1.0.2
Last working release (if known):
?
Browser and Operating System:
Chrome

Description of problem:

The configuration seems ok, follow all instructions and copy/pasted config.

Desk Height is showing NaN, this is also causing the buttons to not work.
desk height looks correct in sensor.desk_height

image
image
image

Javascript errors shown in the web inspector (if applicable):


Additional information:
HACS version 1.11.3
HA version core-2021.3.4

Add stop button as well

Is your feature request related to a problem? Please describe.
Sometimes you want to have the desk stop early, currently there is no way to do that, while a cover device does have this functionality in HomeAssistant

Describe the solution you'd like
A clear and concise description of what you want to happen.

An optional stop button in between the up and down arrow.
Excuse my paint skills, but this would be the idea:
image

The cover already has this functionality:
image

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


No npm token specified.

An npm token must be created and set in the NPM_TOKEN environment variable on your CI environment.

Please make sure to create an npm token and to set it in the NPM_TOKEN environment variable on your CI environment. The token must allow to publish to the registry https://registry.npmjs.org/.


Good luck with your project ✨

Your semantic-release bot 📦🚀

Add support for the new HA idasen_desk integration

Is your feature request related to a problem? Please describe.
The https://github.com/j5lien/esphome-idasen-desk-controller repository has now been archived since the Idasen Desk is now compatible with Home Assistant and ESPHome Bluetooth Proxy https://www.home-assistant.io/integrations/idasen_desk

Describe the solution you'd like
Would it be possible to update the linak-desk-card to be compatible with the new official idasen_desk integration?

Describe alternatives you've considered
This linak-desk-card looks a lot nicer than the default HA cards that can be used for covers.

Install the component without HACS

I have HA installed via a container and do not get this component installed (not HACS). Is there a way to get this installed on non-HACS? Sorry that I perhaps missed something.

presets with sensor value

Is your feature request related to a problem? Please describe.
I am trying to use only two presets for sit and stand but with different values depending on who is working right now.

Describe the solution you'd like
I have two sensor entities changing their values depending on who is sitting on the desk. Now I was trying to get this working but I cannot figure it out myself if it is even possible.

What I tried is this:
target: {{ states.sensor.sitzhohe.state }}
and this:
target: {{ states('sensor.sitzhohe') }}
But it is not working either way.

Describe alternatives you've considered
Allowing template values or accepting sensors for preset heights.

Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.