gadgetchnnel / lovelace-text-input-row Goto Github PK
View Code? Open in Web Editor NEWA custom Lovelace text input row for use in entities cards
A custom Lovelace text input row for use in entities cards
would it be possible to update the card to use Lit?
tiny as your card may be, its a very useful and still unique card....
hope you can make it.
thanks
Thanks for this component, I'm testing it out to try and get an Amazon Echo notification based on string input via lovelace-text-input-row
.
Everything works, the message is announced to the correctly input-select
chosen Echo.
The input-select
is prefilled with the text message
. When I change this text and press enter, then click the button that kicks of the script, invariably the old text message
is announced. The state/string of my input-select
entity is never updated. How is this designed to work?
Relevant background:
RPi4-4GB
HASSIOui-resources.yaml
- url: /hacsfiles/lovelace-text-input-row/lovelace-text-input-row.js
type: js
(also tried with type: module
; documentation from HACS state module
but documentation from this repo states js
(!))
- title: '4'
badges: []
icon: 'mdi:ear-hearing'
type: vertical-stack
cards:
- type: entities
entities:
- entity: input_text.alexattstext
type: 'custom:text-input-row'
- entity: input_select.alexattsselect
- type: call-service
name: ' '
icon: 'mdi:voice'
action_name: Speak
service:
script.sayit
input_text
and input_select
In each of their respective sections:
alexattsselect:
name: Alexa Speak
options:
- media_player.echo_bedroom
- media_player.echo_laboratory
- media_player.echo_workshop
- media_player.echo_kitchen
- media_player.echo_elisabeth
- media_player.echo_auto
- media_player.echo_mini
- media_player.upstairs
- media_player.bedroom
- media_player.sonos_upstairs
- media_player.sonos_bedroom
- media_player.the_little_one
alexattstxt:
name: AlexaTTStext
sayit:
alias: 'Say it'
sequence:
- service: notify.alexa_media
data_template:
target: "{{ states.input_select.alexattsselect.state }}"
data:
type: announce
method: speak
message: '
{{ states("input_text.alexattstxt") }}'
How to get it to work?
Hi!
After I updated to the new version (0.0.11), all my tablets started to lag hard, I mean... 1 maximum 2 frames per second.
I use huawei, samsung and lenovo tablets, with fully kios browser, on the new HA version (2023.12.0).
After I have downgraded to a lower addon version, all it is working normally.
Any idea?
Thank you!
Hi,
after Update HA core to 2023.11.0 the input-row don't show
My Card-Code:
- type: entities
entities:
- entity: input_text.essen_fertig_xx
type: custom:text-input-row
- type: call-service
name: ' '
icon: mdi:voice
action_name: Essen in ...
service: script.essen_in_auslosen
No error in the HA log.
Restore to HA core 2023.10.x shows the input-row
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.