Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95387

Help with syntax to filter numeric value from string

$
0
0

@Borto wrote:

Hi,

I need a little help with what I suspect is a simple syntax question.

I am reading the following value from MQTT

[1586520926,910,“W”]

All I care about is the second numeric value, in my example 910. I want to be able to display this as a sensor.

If anyone can help me with the syntax, that would be appreciated.

Thanks

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95387

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>