---
title: "get component name · RUAL Documentation"
description: "Grabs the current component name of the component"
canonical: https://docs.rual.nl/block-types/state%20actions/state_component_name
language: en
---

[Cluster](https://docs.rual.nl/cluster)

[Blocks](https://docs.rual.nl/block-types)

[Interfaces](https://docs.rual.nl/interfaces)

[Blueprints](https://docs.rual.nl/blueprints)

[Tutorials](https://docs.rual.nl/tutorials)

[Home automation](https://docs.rual.nl/home-automation)

[Examples](https://docs.rual.nl/examples)

[Reference](https://docs.rual.nl/reference)

[Architecture](https://docs.rual.nl/architecture)

[Troubleshooting](https://docs.rual.nl/troubleshooting)

Other

# get component name

This block is part of the [`state actions`](https://docs.rual.nl/block-types/state%20actions) group and was last modified in core [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

Grabs the current component name of the component

- component required `state`

- name `value` Returns the currents component frontend name

A typical wiring for [get component name](https://docs.rual.nl/block-types/state%2520actions/state_component_name): the `name` out pin feeds [convert to uppercase](https://docs.rual.nl/block-types/value/value_to_uppercase).

[![Studio canvas example for the get component name block: typical wiring for get component name.](https://docs.rual.nl/canvas-examples/state_component_name.png)](https://docs.rual.nl/canvas-examples/state_component_name.png?v=3)

## Version history

Introduced in [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

- [Back to `state actions`](https://docs.rual.nl/block-types/state%20actions): Return to the main group to view all sub-groups

- [Back to `state: helpers`](https://docs.rual.nl/block-types/state%20actions?group=state:%20helpers): Return to the group to view all blocks within this group

Was this page helpful? [Tell us what to improve](https://docs.rual.nl/support) · RUAL Docs is an integral component of the [RUAL ecosystem](https://rual.nl)
